>
> I need to do this:-
> - add a hardcoded nav bar link like People and My Profile called
> 'Instructors' to take me to my /instructors/ URL
>
Just override CE's _header.html.haml view


> - instruct my /instructor/ URL to use the CE layout not my own. (I've
> deleted the one created by scaffold, so rails defaults to CEs then,
> but the CE one gives me an error about page_title being undefined on
> line 7 of layouts/application.html.haml)

You should have your controller inherit from CE's base controller if you
want to use CE's layout (or you could also just include the :base_helper in
your controller). This will make the page_title method available.



>
>
> There must be an easy way to use the OOTB layouts of CE on a new page.
> If anyone has a quick and dirty set of instructions for this I'd be
> grateful.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to