Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Modify category_clean?

Quote Reply
Modify category_clean?
How do I change the way the category_clean is outputed?
I want to change the Cat : Subcat to Cat > Subcat
Quote Reply
Re: Modify category_clean? In reply to
This has been discussed many times in the Modification Forum, which is the forum where you should be searching for answers and then posting questions about code hacks if you can't find the answers....

Edit the HTML codes in the sub build_linked_title routine in the nph-build.cgi and search.cgi files.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Modify category_clean? In reply to
it didn't work, it still uses the : even though I changed it in the file

Code:
$last = &build_clean(pop @dirs);

$output = qq| <A HREF="$build_root_url/">Top</A> > |;
foreach $dir (@dirs) {
$path .= "/$dir";
$dir = &build_clean ($dir);
$output .= qq| <A HREF="$build_root_url$path/">$dir</A> >|;
}
$output .= " $last";
Code:
Quote Reply
Re: Modify category_clean? In reply to
Did you re-build your directory and clear the cache out of your browser???

Betcha that you didn't re-build your directory -OR- you did not upload the correct edited file to your server before re-building your directory!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Modify category_clean? In reply to
I did rebuild the dir, several times, and all I edited was search and nph-build, which I also reuploaded several times, and it still didn't work
Quote Reply
Re: Modify category_clean? In reply to
you can see for yourself
http://www.themeguys.com/Video_Games/Playstation/

I also changed unlinked title, but that didn't work either
Quote Reply
Re: Modify category_clean? In reply to
And are you using <%title_linked%> tag in your Category pages? And are you using <%category_results%> in the search_results.html file?

Sounds like you are using the wrong tags in your files.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Modify category_clean? In reply to
thanks, I had a feeling is was the wrong tag, but I didn't know what it should be, thanks
Quote Reply
Re: Modify category_clean? In reply to
You're welcome...

BTW: Do you see the following link in your Edit Templates area?

Template Help and Codes you can use!

Click on it...you may find it helpful!

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Modify category_clean? In reply to
Well, I would suggest first getting oriented to the LINKS scripts like playing around with the many features and then ask questions if you have them!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Modify category_clean? In reply to
thanks for the tip, I never used the edit template feature, so no I didn't see it before, I always just edited on my own