| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hi, I would like to implement a custom category path. This is because I want the separator to be an image instead of a ">". I know where to change this but then I have the same code in my title. And this obviously doesn't work with an image tag. So for the title tag I would like to use the standard path and for the pages I want the path to be seperated by an image. Any ideas how to do this? Bart |
| |||
|
umm not looked at the code, but im thinking underneath the php code thats currently used, you jsut need to create new variable, $pathwithimage = and then use the altered php code to do it with the image then you need to declare $pathwithimage as one that will be used in the templates near the top of the file usually, or at the bottom where it loads the templates. and then use <%pathwithimage%>
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) |
| |||
|
I've added this to the main section of the browse.php $cath_path = str_replace(">", "*", $cat_path); and added <%cath_path%> to the browse.html. I got nearly the result I'm looking for. instead of home > category1 > category2 > category3 it now shows home * category1 * category2 * category3 Obviously I'll replace the * with the path to the image but for some reason I've lost the hrefs. The path doesn't contain any links anymore. What do I need to change to get the links back in the path again? |
| |||
|
The easiest solution of them all is to use the code changes you added and caused the title to go wrong, BUT add proper titles to all the catagories so the automatic ones never get displayed. this will help no-end in the search engines as well, just a thought.
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| category path | inspireme | v5.x | 1 | 01-11-2005 01:34 PM |
| Category Path Broken After Upgrade | hobartimus | v5.x | 43 | 12-31-2004 08:14 PM |
| Category path on detail.php | cezzy | v5.x | 1 | 07-05-2004 03:50 AM |
| category path | barnkin | Indexu Lite | 4 | 07-22-2002 02:20 PM |