Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Related Categories

Quote Reply
Related Categories
Hello!

When I set on a related categories, the following appears:

Related Categories:
0 Music/Midi

I want to delete the point before the categories (enumeration)! In which file must I delete the command?

-Dan

Quote Reply
Re: Related Categories In reply to
In sub build_category_pages:
Code:
# Calculate the related entries and put in a <LI> list.
@related = split(/\Q$db_delim\E/, $related); $related = "";
foreach $relation (@related) {
$related .= qq|<li><a href="$build_root_url/|;
$related .= &urlencode($relation);
$related .= qq|/$build_index">|;
$related .= &build_clean($relation);
$related .= "</a></li>";
Thomas
http://links.japanref.com
Quote Reply
Re: Related Categories In reply to
In which file can I find these lines?

Quote Reply
Re: Related Categories In reply to
The <li> tags already exist! I want to delete the point (enumeration)! What must I do?

Quote Reply
Re: Related Categories In reply to
Thomas was somewhat of a socratic teacher there. He gave you a hint, but you have to think self. You do know HTML, right? What does <li>...</li> do?

Quote Reply
Re: Related Categories In reply to
I'm not quite sure!!!

If I delete this tags, all related categories are unsorted:

Related Categories:
Music/MidiMusic/MP3Music/Tab

Can you help me?

-Dan

Quote Reply
Re: Related Categories In reply to
Of course you need to put something in there instead of the <li>, such as a linebreak. Depends on how you want it took at your site.

Quote Reply
Re: Related Categories In reply to
Ok! Now I have the same problem with the links and categories!

Before both are points too! (enumeration)
Where can I find these commands? Where can I delete it?

Can you please help me?

-Dan

Quote Reply
Re: Related Categories In reply to
OK, I'll give you two socratic questions:

1. What does the link.html template do?

and

2. Which part of the layout cannot be controlled via templates? Or, why does nph-build.cgi control the layout of categories, when all other layout is controlled via templates? (ah, the actual answer to this is somewhat irrelevant here, but the questions should lead you to the answer to your question).

John
-- in a philosofical mood today ;-)