yvain wrote:

> It strikes me as being nicer if one could query where one is in the
> midgard page tree with a piece of php. This would mean that one could
> write a piece of code for the navbar that could work out where the user
> currently is, and show links to subpages under that section.
> 
> This way one would be able to have one style element that would work
> regardless of how the structure of the site changes (rather than having
> to produce hundreds different substyles.

I use substyles for the larger changes in navigation and such, PHP in
the styles for simple navigation variation.

> What I am thinking of is that a variable (say something like $page) be
> defined by midgard for each page, that points to an object that contains
> all of the information about that page.

<whistling innocently>Oh, like $midgard->page?</whistling innocently>

Bye,
Emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to