Jaide Posted June 20, 2007 Share Posted June 20, 2007 I have a 'custom' category that I'd like to link to a page like custom.php - is this possible? In other words, instead of the category Custom showing a list of products, it will show a .php page of HTML info, ie: CUSTOM DECALSfill out this form and we will give you a free quote Name Email Your Graphic Your Text Link to comment Share on other sites More sharing options...
georgec Posted June 26, 2007 Share Posted June 26, 2007 I have a 'custom' category that I'd like to link to a page like custom.php - is this possible? In other words, instead of the category Custom showing a list of products, it will show a .php page of HTML info, ie: Ummm... just modify /includes/boxes/categories.phh. Right before the "new CategoriesBox($info_box_contents);" (or in your case it'll probably be new infoBox() ) line you'll see something like this: $info_box_contents[] = array('align' => 'left', 'text' => $categories_string); modify it to $info_box_contents[] = array('align' => 'left', 'text' => $categories_string . '<a class="blah" href="/custom.php">' . tep_image(DIR_WS_IMAGES . 'yourbullet.png', 'Alt for the bullet') .Create your Own</a>'); Link to comment Share on other sites More sharing options...
Jaide Posted June 26, 2007 Author Share Posted June 26, 2007 Thanks for replying, I tried it and it gives me: Parse error: syntax error, unexpected '/' in /home/jaide/public_html/includes/boxes/categories.php on line 287 (with or without the '/custom') Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.