Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Re: @ function on category name such as yahoo.

Quote Reply
Re: @ function on category name such as yahoo. In reply to
You would have to merge the two routines for building the related-categories and the sub-categories together. Rather than outputting them, you'd want to find all the related-categories, and change the name to an "name@" format, then sort the two lists of categories together, then output them to the &load_template command in that order, and put them into one variable something like $all_subcats.

I can see a potential problem with this, but it could be fixed by inserting another tag into the "related" records $rec->{is_related}=True for any category that was related, then sort them on name, then before sending to the &load_template command you checked to see if (is_related) then change_name, else, just send.



http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Subject Author Views Date
Thread @ function on category name such as yahoo. alexkk 6067 Jun 17, 2000, 1:17 AM
Post Re: @ function on category name such as yahoo.
pugdog 5939 Jun 17, 2000, 8:17 AM
Thread Re: @ function on category name such as yahoo.
qango 5929 Jun 18, 2000, 6:16 AM
Thread Re: @ function on category name such as yahoo.
alexkk 5909 Jun 18, 2000, 6:09 PM
Thread Re: @ function on category name such as yahoo.
qango 5905 Jun 20, 2000, 1:38 AM
Post Re: @ function on category name such as yahoo.
Robert 5904 Jun 20, 2000, 2:12 AM
Thread Re: @ function on category name such as yahoo.
pugdog 5901 Jun 20, 2000, 11:11 AM
Thread Re: @ function on category name such as yahoo.
jsu 5857 Jul 2, 2000, 12:40 PM
Post Re: @ function on category name such as yahoo.
Janio 5854 Jul 3, 2000, 10:02 AM