Gossamer Forum
Home : Products : Links 2.0 : Customization :

Please help me...

Quote Reply
Please help me...
1. my english is very bad, i am from Germany, sorry.

ok:

My problem:

Example i have 1 category with 2 sub-category:

Internet:Software:CGI

In the 3. category "CGI" i have 2 link´s

In the mainpage is all ok.

Internet (2)

In the next category

Software (0) ???

In the last category

CGI (2) = ok.


Why is in the 2. category the link-numbers not right?

I have this testet on a new programm.

Thanks for help

Uwe

Quote Reply
Re: Please help me... In reply to
Number of links show how many links TOTAL there are in that Category...So, in the CGI category you have 2 links, right? That is correct when (2) appears. And in the other sub-category, you have 0 links, right? So, in the main Internet category, you only have 2 links, so, the number (2) is correct?

Do you understand?

Regards,

Regards,

AnthroRules
Quote Reply
Re: Please help me... In reply to
Thanks for your answer, but:

In the mainpage 2 = ok:

In the page Software (0) = not ok: ??

The user think it is 0 pages in this category why the user dont see the next category = CGI

I think right = :

Internet (2)

Software (2)

CGI (2)

So dont work this Programm

The Script is so :

Internet (2)

Software (0)

CGI (2)

-----------------
Internet = Category --> Software = Subcategory --> CGI = SubSubcategory

Uwe

Quote Reply
Re: Please help me... In reply to
Right...the $numlinks shows TOTAL links in each category. Since you do not have any links in the Software category...(0) will appear. This is how the program functions...


Regards,

AnthroRules
Quote Reply
Re: Please help me... In reply to
OK. thanks for your answer.



Quote Reply
Re: Please help me... In reply to
You're welcome.

Regards,

AnthroRules
Quote Reply
Re: Please help me... In reply to
In Reply To:
the $numlinks shows TOTAL links in each category. Since you do not have any links in the Software category...(0) will appear. This is how the program functions.
According to nph-build.cgi, sub build_stats, each category includes the link count for itself and all sub-categories. If his sub-category is Internet/Software/CGI and only the CGI category actually has links, the total of those links should appear next to all three categories. Software should NOT have a 0 for mumlinks since CGI is a subcategory of Software. Evidentally, something is wrong in his sub build_stats subroutine.

- Bobsie
bobsie@orphanage.com
http://goodstuff.orphanage.com/