View Single Post
  #7  
Old 02-27-2008, 03:52 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: adding custom sql

Quote:
Originally Posted by mangoboom
basically i want to list my categories on a page and have them linked to their respective page, i want to achieve this the most efficient way. i just thought a database connect and select statement would work for me, if there another easier way, then please let me know!

thanks

A simple way, open file "skin1/customer/categories.tpl"

find line:
{capture name=menu}

and after insert next code (for link to url test.php, test1.php, test2.php):
PHP Code:
<font class="CategoriesList"><a href="test.php" class="VertMenuItems">One more cat</a></font><br />
<
font class="CategoriesList"><a href="test1.php" class="VertMenuItems">One more cat </a></font><br />
<
font class="CategoriesList"><a href="test2.php" class="VertMenuItems">One more cat 2</a></font><br /> 


If you need more additional links (in categories list) add similar.
Reply With Quote