I have a osCommerce V2.2 RC2 with some Categories and Subcategories. By some Subcategories I want to link to another Page. For the survey at the middlecontainer I did this on this way in the index.php:
<tr><td class="name name4_padd">'; if($categories['categories_name'] == "Subcategory1") { echo '<a href="myownPage.php">Subcategory1</a>'; } else if($categories['categories_name'] == "Subcategory2") { echo '<a href="myownPage1.php">Subcategory2</a>'; } else { echo $p_name_sub; } echo '</td></tr>';
It works well! But how I can do this for the Navigation ? I mean:
Category1
Subcategory1 ---> must be linking to myownPage.php
Subcategory2 ---> must be linking to myownPage1.php
Subcategory3 ---> linking normal
Subcategory4 ---> linking normal
Category2Subcategory1 ---> linking normal
Subcategory2 ---> linking normal
I hope you know what i mean....
Thanks a lot!
best regards
Edited by nitromethan, 11 April 2012 - 01:11 PM.









