View Single Post
  #1 (permalink)  
Old 30-03-07
zonetrap zonetrap is offline
Fresh Meat
 
Join Date: Mar 2007
Posts: 3
Default PHP Help on Sidebar

I am using the code below on my sidebar. The sidebar changes depending on the page parent I have selected. The sidebar will show the parent and all its children. So if the parent is Fruit, the sidebat would show
Fruit Subpages
-Apples
-Oranges

But if the parent doesnt have any children, it shows a blank box.

How can I alter the code so it shows the parents name even if it has no children?

Code:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote