Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

1.1b2: page.cgi MISPELL :)

Quote Reply
1.1b2: page.cgi MISPELL :)
well.. all i can say is in page.cgi the home won't display categories.. cause you mispelled: CategoryHeiarchy

change

Code:
$sth = $LINKDB->prepare (qq!
SELECT c.*
FROM CategoryHierarchy AS h, Category AS c
WHERE h.CategoryID = 0 AND h.SubCategoryID = c.ID
!);

to

Code:
$sth = $LINKDB->prepare (qq!
SELECT c.*
FROM CategoryHeirarchy AS h, Category AS c
WHERE h.CategoryID = 0 AND h.SubCategoryID = c.ID
!);

i've been mispelling heirarchy since the first time i used it too Smile why can't it be like.. categoryTREE Smile

jerry
Quote Reply
Re: 1.1b2: page.cgi MISPELL :) In reply to
oh yea.. alex.. for site_html_print_cat do you really need to "clean_output" it.. won't it get "clean_output"ed when it goes through the one in site_html_home, site_html_category.. etc

jerry
Quote Reply
Re: 1.1b2: page.cgi MISPELL :) In reply to
I'm actually trying to fix the spellings, so I'm changing everything to CategoryHierarchy (might as well change it now rather then later).

Also, yes, clean_output can be removed from site_html_print_cat.

Cheers,

Alex
Quote Reply
Re: 1.1b2: page.cgi MISPELL :) In reply to
hierarchy is spelled IE?

hmm..

I before E
Except after C
Or when it sounds like an A
As in neighbor or weigh

ok.. you're right Smile

jerry