View Single Post
  #7 (permalink)  
Old 10-28-2007, 01:46 AM
proppd proppd is offline
New Pligger
 
Join Date: Oct 2007
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
My question is - can we do some kind of loop in PHP to get all the category names and automatically create navigation buttons for all categories?

Doing it manually works - for example to link to the videos category
HTML Code:
<li><a href="{$URL_category}Videos" class="navbut3"><span>Videos</span></a></li> 
However I would think it would be possible to have PHP extract the categories for both the link and the link text. I'm not familar enough with php or pligg to attempt this myself though.
Reply With Quote