Hi, Effectively following on from creating a new menu item in mainnav (from Basic Egg Cooking tutorial) and creating a new page, I need to find a sane way of trying to maintain page consistency with Trac. ie, generating a page via this method does not pull in any CSS from Trac, neither does it pull in any blocks such as the banner or the mainnav bar.
Is there a normal way to do this? Using templates and presenting the page as a template may be a solution, but any example given on the docs only pulls in a static page from the server, and not a dynamically created one. There seems to be insufficient documentation on handling this - unless someone can point me in the right direction for docs? ie: work from https://trac-hacks.org/wiki/EggCookingTutorial/BasicEggCooking change // abuffer = 'Hello world!' // to // abuffer = MyPythonScript() // I want to be able to have a block that tells Trac to switch it out to the banner/metanav/mainnav etc. MyPythonScript turns out standard HTML, obviously I have full control over what comes from this, I just can't find info on what Trac wants, and how to handle it. Genshi? Cheers -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
