Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Links 2 subcats

Quote Reply
Links 2 subcats
Can anyone tell me how I can convert the subcats (descriptions)on the home page into links?
Links that would take someone that clicked on them, directly to the page containing the links that are associated with the subcat.
Check it here..
http://www.valiantlounge.com/cgi-bin/pages"

Thanks,
John
jgw10701@yahoo.com

Quote Reply
Re: Links 2 subcats In reply to
If you mean what i think you mean (see eg below)

Main Title
Sub Link, Another Sub, Another Sub


Then i don't think it can be done without actually making the home.html page include these links, and then directly programming in the links as HTML, and not putting any tags into the page where the categories would normally go. Do you get what i mean? A major bugger with this idea is that you wouldn't get a count appearing next to each category, or the new text either.

Hope this helps

Andy



http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Links 2 subcats In reply to
Hello?! There is absolutely no reason at all why they can't be links. Just add the apropriate HTML codes for each subcategory. There is a also a friggin' mod that's been around for a very long time called Subcategories Like Yahoo that automates this process.

Happy Coding,

--Drew
http://www.FindingHim.com
Quote Reply
Re: Links 2 subcats In reply to
Wellllllllll, sorry, I didn't know that!!!

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Links 2 subcats In reply to
I don't think that the Yahoo like categories mod will do the trick. I'm looking for the following



<b>Main Title
Sub Link, Another Sub, Another Sub</b>


and I don't believe that the Yahoo mod will acomplish this. If someone knows another way to do this I welcome the input.
If not, Than I may have to do it the way Aceinstallers explained it above.Thanks,
John
<a href="http://www.valiantlounge.com/cgi-bin/pages">
http://www.valiantlounge.com/cgi-bin/pages </a>


Quote Reply
Re: Links 2 subcats In reply to
In Reply To:
I don't think that the Yahoo like categories mod will do the trick.
Neither handcoding the HTML codes in the category description, nor Subcategories Like Yahoo will work? Why not? Please explain in better detail what it is you're trying to accomplish.

Happy Coding,

--Drew
http://www.FindingHim.com
Quote Reply
Re: Links 2 subcats In reply to
I hope I can explain this, here goes.
I have a list of categories on my home page. Under each category there will be 2 or 3 subcategories.
check the link below for example of what I am trying to accomplish...

http://www.valiantlounge.com/cgi-bin/pages

Example--- If I click on computers (the main category) it will take me to a subcategory page, with a list of subcategories followed by links that were entered under Computers.
I want to be able to make the subcats.(java scripts, Software for example) on my main home page into links that will bypass the subcat page and go directly to the individual link page for that subcategory.
Thanks

http://www.primefind.com




Quote Reply
Re: Links 2 subcats In reply to
Right...and that is what the Subcategories like Yahoo v2.1. DOES!

Regards,

Eliot Lee
Quote Reply
Re: Links 2 subcats In reply to
I tried it about a half a dozen times, The result is the same. The existing categories do not show, just the subcats, and their linked together, not seperate...
http://www.valiantlounge.com/cgi-bin/pages
I do not know what I'm doing wrong, but I am ready for a rest.
Thanks
Frustrated.


Quote Reply
Re: Links 2 subcats In reply to
Follow the instructions again!

Do you have $subcat_length = 40; in the links.cfg???

If not, then THAT is ONE of your problems.

Regards,

Eliot Lee
Quote Reply
Re: Links 2 subcats In reply to
I had $subcat_length = 30; I changed it to $subcat_length = 40; and it makes no difference. I will be happy to send someone the files that I modified, if they would care to look at them.
Or I could remove the password protection from my admin.cgi and you can have a look. What ever will work.
Thanks,

<A HREF="http://www.valiantlounge.com/cgi-bin/pages" target="_new">http://www.valiantlounge.com/cgi-bin/pages</A>
<BR>


Quote Reply
Re: Links 2 subcats In reply to
And you also have (ALL)1 in the SubCatStyle field in the MAIN category that you want to print subcategories, right?

And did you update your EXISTING categories.db file AFTER adding the SubCatStyle field in your category.def file????

Again, Re-READ the MOD instructions, because you are definitely missing codes.

Good luck!

Regards,

Eliot Lee
Quote Reply
Re: Links 2 subcats In reply to
What you need is Widgetz mod "Subcategories like Yahoo" But is not listed in the resources any more ? see: http://www.qdice.com No it is not the "Yahoo like.. 2.1" mod listed there either (that one is a mod to the mod you need)

Pat