Repository navigation
Add support for changing layout - #15
skipperguy12 wants to merge 1 commit into
Conversation
|
Is this everything for theming? It functions but I'm not so sure this is absolutely everything from forem. I was able to successfully create a theme for BS3, and this was the process to apply the theme: Add following to application.js Change the following for the mongoid_forums.rb initializer: Is this the same as radar/forem? |
|
Wait, can't a user just generate views and theme them? |
|
@AustinLMayes yeah, radar/forem seems to have some built in method that makes it 'easy' to theme which I'm trying to add (however I don't fully understand it). As far as I can see, it kind of just depends on you setting the layout for each controller through the config. Then, because it's a Rails engine, it looks like the stylesheets and javascript all become available for use, and by requiring it in your app you get a theme. I'm hoping someone more familiar can explain the process, and confirm if this works the same way. For now I'll leave it unmerged. |
|
@skipperguy12 that way makes the user edit CSS and not actual html content which is kinda pointless IMO, just let the users generate views and customize them on their own. |
|
@AustinLMayes that's already allowed, I guess I'll leave this open because as you're saying it's almost pointless. This will be left open, if anyone wishes to come and explain it's purpose, if this is correct, and why it should be merged I will go ahead and do so. |
No description provided.