|

10-19-2006, 12:18 PM
DOH!! I figured this out on my own.
If the page is marked to NOT be displayed in the navigation, then its corresponding data will not be included in the $templatepages array.
Actually, I think this is an odd feature. Why should a page have to be displayed in the navigation automatically in order to be able to get its title? Now I will need to remove the automatic display of pages from my template and enter the ones I need manually. Not a big deal, but it seems odd to have to do that.
Larry- good idea about the replace, but in my opinion the page title should be present in its own, easy to get variable. If for some reason the site name changed even slightly the code would need to be updated. Though I assume I could also just use the constant for the site name instead of hard-coding it.
Paul Woods
v3.1.5 Designer
|