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
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