Forum .LRN Q&A: Modifying the .LRN Context Bar

Collapse
Posted by Jonathan Villatoro on
Hello everyone,

Is there a way in .LRN in which I could, for example, make the context bar hide the Department and Subject parts of the context tree for a given class?

For example, it now displays

Home : Subjects : Some Department : Some subject : given class

and I would like to turn it into

Home : given class

How could I do it? Thanks in advance!

Jonathan

Collapse
Posted by Byron Linares on
There is a way to achieve this but I don’t know if it’s recommendable

You could replace the proc dotlrn::get_node_id for dotlrn_community::get_community_node_id in lrn-master.tcl then the context bar will be build from the community nod

Collapse
Posted by Jonathan Villatoro on
Thank you! It did remove what I wanted it to.

Now, I have another problem, though. It removed what I wanted, but it also removed the class name from the context bar. Any idea on how I could bring it back?