ketanco
20 Jul 2008, 10:58 PM
Hi,
I am trying to automatically show the name of the page and its directory. For example,
If there is a home page it would show
Home
For a page directly linked from the home page it would show:
Home>Subpage1
For a page linked from Subpage 1,
Home>Subpage1>Subpage1-1
I would like this to print automatically depending on the name of the page. Is there a way to automatically do this? Does it matter if the subpages are in separate folders-if so how does it change (Lets say subpage 1 and all pages under it are in a folder called subpage1)? And is the file name or page title used in the code?
I am trying to automatically show the name of the page and its directory. For example,
If there is a home page it would show
Home
For a page directly linked from the home page it would show:
Home>Subpage1
For a page linked from Subpage 1,
Home>Subpage1>Subpage1-1
I would like this to print automatically depending on the name of the page. Is there a way to automatically do this? Does it matter if the subpages are in separate folders-if so how does it change (Lets say subpage 1 and all pages under it are in a folder called subpage1)? And is the file name or page title used in the code?