I'm new to Trac plugin development, so I started with EggCookingTutorial (http://trac-hacks.org/wiki/EggCookingTutorial). The third part of the tutorial ( http://trac-hacks.org/wiki/EggCookingTutorial/AdvancedEggCooking2) explains how to use a template, but there's one thing I just don't get: how to insert some piece of data from my python code into the template??
The example template contains the following piece of code, which seems to do the trick: <?cs var:chrome.href ?>
But when I try to define some member variable in the python class and display it in a similar manner, e.g. (for modified example) <?cs var:UserbaseModule.MyVariable ?>, nothing appears in the resulting output. Why? What am I doing wrong? And how to do this right?
Thanks in advance!
With best regards,
J.R.
_______________________________________________ Trac-dev mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac-dev
