Forum OpenACS Q&A: Navbar ambitions

Collapse
Posted by Richard Hamilton on
I have been studying the dizzying complexity of the .LRN templates and in particular the construction of the navbar.

I have got as far as studying the procs in /dotlrn/tcl/navigation_procs.tcl
and I can see that the answer probably lies somewhere in dotlrn-master.tcl but it is not entirely clear in my mind to say the least.

If I wanted to add a fifth link to the navbar, where and how whould I do it without breaking things?

R.

Collapse
2: Re: Navbar ambitions (response to 1)
Posted by Don Baccus on
Look and see how the control panel is added ... it's somewhere  in there (this is actually the My Account page for users).  Also go to a class, click on "control panel", find the file you land in (not control panel - something like one community admin!) and see where it's added to the navbar.  Grep should find this for you.

BTW those procs really suck... :)  I hope to replace them with proper templates at some point (the rewritten portals package does in its OpenACS integration code so it should be possible eventually).