Hi,
Can anyone suggest an easy and efficient way to determine what section
a page/object belongs to within the site's structure. By 'section' I am
referring to a specific level within the structure that we are using as
the site's root navigation e.g.
-root
-lang_en
-SECTION1
-a page of something
-a sub section
-another page
-SECTION2
-some page
-lang_fr
So If a user navigates to any object/page within a 'section' then the
code (dmInclude?) can determine which section it belongs to.
E.g. from the objectID of the page named "another page" above, we could
determine that it belongs to "SECTION2". I would like the code to
return an Integer that represents the sections position in its branch
i.e. SECTION2 = 2 as its the second section in its branch above.
The reason for needing this is to allow me to automatically assign a
different colour scheme to each section by linking a different
stylesheet. I want to do this through code to ensure the site is
flexible for expansion and changes.
That was difficult to explain in simple terms so please let me know if
it needs any more explanation/clarification.
thanks in advance
Zefer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---