I'd like to display subcategories on main page (under main category) in a column not one by one separated by comma - how can I make it ? Where to look or change it ?
I'd like to display subcategories on main page (under main category) in a column not one by one separated by comma - how can I make it ? Where to look or change it ?
www.zgred.pl | www.linksor.com | www.multiportal.pl | www.szukaj24.pl | www.sidlink.com | www.pirlo.pl - all ON IU 5.4.x
This is in category.class.php
Yes I know that - any details please ?
www.zgred.pl | www.linksor.com | www.multiportal.pl | www.szukaj24.pl | www.sidlink.com | www.pirlo.pl - all ON IU 5.4.x
I don't even use 5.x any more so I have to do exactly what you would need to do, search for it.
line 572
$category .= "<a href=\"$sub_url\" style=\"$this->subcat_link_style\" name=\"cat_$sub_id\">$sub_name</a>, ";
change to
$category .= "<a href=\"$sub_url\" style=\"$this->subcat_link_style\" name=\"cat_$sub_id\">$sub_name</a><br /> ";
Thanx![]()
www.zgred.pl | www.linksor.com | www.multiportal.pl | www.szukaj24.pl | www.sidlink.com | www.pirlo.pl - all ON IU 5.4.x
how do you get some space between them?
indexu unlimited license for sale pm me for more info
Directories for sale pm me for more info
Add another <br /> or a <p> or an
However you want to do it.
$sub_url = $site_url . "/" . $sub_url;
$category .= "<a href=\"$sub_url\" style=\"$this->subcat_link_style\" name=\"cat_$sub_id\">$sub_name</a><br />";
$j++;
if ($j == $this->number_of_subcats || $result_sub->EOF) {
$category = substr(trim($category), 0, -1);
if ($j < $num_subs) {
$category .= "....";
where do i put it?
indexu unlimited license for sale pm me for more info
Directories for sale pm me for more info
Really that's up to you, but you can try this
$category .= "<a href=\"$sub_url\" style=\"$this->subcat_link_style\" name=\"cat_$sub_id\">$sub_name</a><br /><br />";