I have added a new item to the NavBar, by copying vendor/plugins/ community_engine/app/views/shared/_header.html.haml into app/views/ shared/ and modifying it as desired.
My new class Games is in order, but I can't figure out how application.html.haml is invoked, and furthermore how @content_for_layout gets wired to the appropriate view file. For example, trying to track how vendor/plugins/community_engine/app/ views/forums/index.html.haml is rendered, I see the routes into forums_controller:index, and have successfully pulled a copy of that up to app/views/forums and played with it. But my new Game controller and view files are missing something, because the views are rendered without application.html.haml. ie: How do I get a new view file to get wrapped by application.html.haml? Having great fun with CE!. I hope to be able to submit some new features for your consideration once I'm up to speed. Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
