Mary Evans, Emma Richardson, Rick Jerz please et al. help!
I thought creating 6 variations of a theme would be a simple learning curve - wrong! I just want the boost_learning theme in 6 different colors for each department. I have been reading each of your posts for a few weeks and watching Rick Jerz videos on creating a theme based on boost and documentation here. I tried both stageone and stagetwo examples but they would never upload to Moodle plugins so I finally made a 6 copies of boost_training and used notepad plus to search every single file and replace all instances of the word boost_training with Boost_green, ect for pink, yellow, blue, purple, yellow for each theme. I also had to change 3 document names in in three places in the paths theme/Lang/en theme/lang/pt_br and theme/scss.
They uploaded fine into moodle but they all had the same theme name despite changing it everywhere. (said boost_training). Looking at the list of plugins they each had the correct theme name as a subname. I triple checked that I did not miss anywhere and I didn't.
The error it shows when choosing the theme is
Exception - Call to undefined method core_renderer on lines, line 42 layout/columns2.php, 1261 lib/outputrenderers.php, 1191 lib outputrenderers
I checked out those errors and found two links solving it here and here but there example differs from mine - I find the word core_renderer in 4 places but none of them are like their example which should be like this: class theme_mytheme_core_renderer extends theme_boost\output\core_renderer
I tried to change it anyway and did it like below in these two paths: classes/output/core_renderer.php on line35 and in same path core_renderer_maintenance.php on line 37
class theme_boost_green_core_renderer extends \theme_boost\output\core_renderer
class theme_boost_green_core_renderer_maintenance extends \theme_boost\output\core_renderer_maintenance
The error remains I am at a loss with something I thought would be easy to just have 6 different colored themes for each department for the theme boost_training.
aside: I also compared to boost_learning which is a child of theirs by Kraus which did not change lines 35 and 37 so I'm guessing it's something I need to register at git or somewhere maybe. Boost_learning is ok but is missing the the icon for the 2nd navbar button and that would only make 1 extra theme not 6 If I could make it work. In that issue using the inspector in firefox I noticed the issue to be fixed is <div class="btn pull-xs-left btn-secondary navbar-toggler" aria-expanded="true" aria-controls="nav-drawer" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"
In the hopes to have at least 2 of the same theme I tried to copy the working example from boost_training to it without success. So any ideas to help me is greatly appreciated.