#1 (permalink)  
Old 11-08-2005, 10:35 AM
Registered User
 
Join Date: Sep 2004
Posts: 35
bdewijs is on a distinguished road
Default Custom category path

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
  #2 (permalink)  
Old 11-08-2005, 10:53 AM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

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 )
  #3 (permalink)  
Old 12-13-2005, 02:48 PM
Registered User
 
Join Date: Sep 2004
Posts: 35
bdewijs is on a distinguished road
Default

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?
  #4 (permalink)  
Old 12-25-2005, 07:42 AM
Registered User
 
Join Date: Sep 2004
Posts: 35
bdewijs is on a distinguished road
Default

Anyone? I feel I'm so close... (might be wrong ofcourse)
  #5 (permalink)  
Old 12-25-2005, 09:15 AM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

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 )
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 12:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate