Gossamer Forum
Home : Products : Links 2.0 : Discussions :

"Top : Category" -> "Top :: Category" ?

Quote Reply
"Top : Category" -> "Top :: Category" ?
Could anybody be so kind to answer my 2 simple questions?

1) I have this like link from the subcategories to the top:

"Top : Category : Subcategory : Subcategory"

I need to change the view, this way:

"Top :: Category :: Subcategory :: Subcategory"

What and where must I change?

2) How can I change the word "Top" in that links to another one, for example the name of catalog?

Thank you.

Quote Reply
Re: "Top : Category" -> "Top :: Category" ? In reply to
Hello Superior,

2) in nph-build.cgi

In sub build_linked_title, change:
Code:
$output = qq| <A HREF="$build_root_url/">Top</A> :|;
to:
Code:
$output = qq| <A HREF="$build_root_url/">YourSiteTitle</A> :|;
If you use the nonenglish-mod, change also the following:
In sub build_linked_title_mb change:
Code:
$output = qq| <A HREF="$build_root_url/">Top</A> :|;
to:
Code:
$output = qq| <A HREF="$build_root_url/">YourSiteTitle</A> :|;
Hope that helps...

Regards, Del.

Quote Reply
Re: "Top : Category" -> "Top :: Category" ? In reply to
Thanks, Del! Sorry for saying thank you, too long. It is really fine and it works. :) I'm just realize another unpretty trouble. I use the nonenglish-mod and it is some problems with it when it posts linked_title with some non-english characters. For example, I'm now in the category with the only english characters in the category names - Catalog/News/Daily/Sites.

sub build_linked_title works with it, and <%title_linked%> in the category.html replaced on the page with:

Catalog :: News :: Daliy :: Sites

If I have non-english characters in the category names, I see only the first, and the last.

Catalog :: :: :: Sites

The entire massiv $descs is empty. :( Can this be cured? May be this is very simple, but I just started using CGI and Perl on my site. Help, please if you can!


------------------------------------------------------------
Sincerely yours, Alexander Kirillin - co-ordinator of
"Might and Magic Net" [http://www.mm.net.ru]