PDA

View Full Version : Removing link counter


Anonymous
06-08-2005, 01:55 AM
Hi

How do I remove the link counter which follows each directory category? It is the number in (#) that indicates how many total links are in a category on the main directory page. Example: Books & Magazine (###) found on {url no longer in service}

Appreciate any and all assistance.

Thank you in advance.

David
06-08-2005, 03:49 AM
Well, it is configurable right in the admin of the 2.0 version which we are releasing this evening. If you need help importing the data from your current version, let me know, and if you prefer just to make this one change with what you have, also let me know.

You might take a look at this post:
{url no longer in service}
I think you just need to locate the variable {CAT_COUNT} and remove it from the template file.

buyforless
06-08-2005, 03:51 PM
Appreciate your prompt response. Very helpful.

Found file and text to remove - make backup first of file incase you make a mistake.

in folder "tpl" locate file "view_categories.html"

then delete only this code at top ({$items[subcategory].count})Â**censored**

You will remove from your directory main page the (#) link counter.

This is helpful for directories just starting out with few entries. Webmasters seeing (0) links may decide not to share with you (thinking no one else has).

Later on - after you have established a number of links - you can reload your backed up "view_categories.html" file to re-establish the link counter.

Just an idea

Thanks.