BCcampus / pressbooks-textbook

A plugin that extends Pressbooks for textbook authoring
GNU General Public License v2.0
25 stars 13 forks source link

Feature Request: Enable plugin functionality for other themes #158

Open greatislander opened 6 years ago

greatislander commented 6 years ago

Description

Currently, users must enable the Open Textbooks theme on their books for much of the functionality of this plugin to become available to them. With a few exceptions noted below, this should not be a requirement. Users may want to take advantage of the features of Textbooks for Pressbooks while using a different book theme.

Expected behaviour

All features of Textbooks for Pressbooks are available regardless of which book theme is selected.

Actual behaviour

Many features are tightly coupled to the Open Textbooks theme.

Notes

As far as I can tell, changes to the web UI of the book theme are the only components of Textbooks for Pressbooks that would require the use of a custom theme. There may be other ways we could approach this and I'm happy to help.

System Information

bdolor commented 6 years ago

I agree with this approach @greatislander With the recent changes that you've introduced to PB and the flexibility/stability that comes with that I think the time is right to be looking at breaking the plugin features away from theme dependencies.

greatislander commented 6 years ago

Thanks @bdolor, glad to hear we are thinking similarly about this. In terms of support for this change from the Pressbooks end, feel free to tag me in if you need anything.