Emiliano Heyns wrote:

>
> > Suggestions for varrying layout across a site?
>
> Inherit the style for different parts of your site and replace
> the elements you want changed in the new style. Then set the
> page for the subsections to the various substyles.

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.

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.

peace
Chris




--
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