Gossamer Forum
Home : Products : Links 2.0 : Customization :

NEW Yahoo SubCats Mod

(Page 2 of 2)
> >
Quote Reply
Re: [RedRum] NEW Yahoo SubCats Mod In reply to
Hello Redrum,
Thanks for the MOD, it works great !!

I have changed the "comma" in your following lines:
if ($hyperlink) {
$output .= qq|<a href="$build_root_url/$subcat/$child/">$child</a>,|
}
TO a <br> :
if ($hyperlink) {
$output .= qq|<a href="$build_root_url/$subcat/$child/">$child</a><br>|
}
And this to put the Subcategories in a Vertical List.

My quesrion is :
What variable should I use behind $child as to print the description so that the outcome would be:
Category-Name Category-Description
Sub-Category1-Name Sub-Category1-Description
Sub-Category2-Name Sub-Category2-Description
Sub-Category3-Name Sub-Category3-Description
etc...etc...

I have tried the following:
$output .= qq|<a href="$build_root_url/$subcat/$child/">$child</a> $description <br>|
BUT this puts the same description of the MAIN-category behind all the Sub-Categories.

Any Ideas, please
Regards,
Sanuk
Quote Reply
Re: [RedRum] NEW Yahoo SubCats Mod In reply to
Hello RedRum,
Works great !!
How do I ad the "number of links" behind the SubCategories.
Is this possible ???
Thanks a lot
Regards,
Sanuk
Quote Reply
Re: [memobug] NEW Yahoo SubCats Mod In reply to
Hi again Redrum!



Is there any change you can do in your new Yahoo mod to support accents?Unsure



Thanks again
Quote Reply
Re: [delsio] NEW Yahoo SubCats Mod In reply to
What seems to be the problem? Do they just not show?

That may be a Links2 problem...all the mod does is display existing sub-categories.
Quote Reply
Re: [RedRum] NEW Yahoo SubCats Mod In reply to
Everthing works fine but the subcategories accents are not displayed.Unsure

Look: http://www.buscas.mozdesigners.com/index.shtml



That's all...for now!Wink
Quote Reply
Re: [Paul] NEW Yahoo SubCats Mod In reply to
Hello, I do not arrive has to put on sous - categories of yahoo type. Or should one put these two lines:

max_subs = X; * Number of subcategories to show one hand page Hyperlink = 1; * 1 to hyperlink subcats now 0 for text.

in the links.cfg???

How then to add the subcategories? By the panel of administration?. Nothing changed on mine in spite of the indications of your post...





Thanks you for your help
Quote Reply
Re: [javander] NEW Yahoo SubCats Mod In reply to
great mod! Many thanks for this - I was having a lot of trouble figuring out the other Yahoo Categories Listing mod (it was only printing out descriptions!)

I've also used your mod to fix the space coming out with category names that have an _ - is there a way for it to LINK to the right directory (ie /category_name) but to display WITHOUT the underscore?

Also, is it possible to display the number of links within a subcategory itself (rather than the number in the whole category)?

thanks again!
Quote Reply
Re: [Paul] NEW Yahoo SubCats Mod In reply to
I did this modification and it worked somewhat.

Some of my subcats have things like Online_Radio, but on the page the URL is wrong it only shows "Online Radio" without the _ and therefore the hyperlink is wrong.

How can I fix this?

Sonja Marie
Quote Reply
Re: [SonjaMarie] NEW Yahoo SubCats Mod In reply to
I fixed one problem only to get another.

On some pages text and even links are being forced to the far right. This happens on pages that have subcats on them.

How do I fix that?

Sonja Marie
Quote Reply
Re: [SonjaMarie] NEW Yahoo SubCats Mod In reply to
Hi,

Ive not experienced that before. What does the html source look like?
Quote Reply
Re: [Paul] NEW Yahoo SubCats Mod In reply to
Hi again,

Since it was doing other wierd things with the text on some of my pages I removed the code for now.

I actually fix that part (the pushing to the far right), but then on some pages that had 6 Man Cats and under one Cat a bunch of Subcats, it was making is so the very top row of Headers was Large, the 2nd row was smaller, and the 3rd row, including the one with the subcats under it, was tiny.

I couldn't for the life of me figure how to fix that one.

if you have any ideas let me know.

Sonja Marie
> >