How Do i edit the way Category description look? It seems to be indented when it shows up. I also would like to change the font size too. I didn't see it in any of the template, So I'm guessing i have to edit it in a script? Let me know. Thanks!
Nov 27, 2002, 12:55 AM
Veteran / Moderator (17297 posts)
Nov 27, 2002, 12:55 AM
Post #2 of 6
Views: 952
You need to edit site_html_templates.pl, located in the /admin folder.
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Dec 8, 2002, 6:06 PM
Veteran (1350 posts)
Dec 8, 2002, 6:06 PM
Post #4 of 6
Views: 879
I'm pretty sure putting HTML in the description box won't work. (Actually, I just tried it, and it did not...) You do need to change the site_html_templates, sub site_html_print_cat. These terms are used:
<DL> = Definition List <DT> = Definition Term <DD> = Definition Detail
Remove/replace those codes to alter appearance; it is normal for <DD> to indent whatever it contains.
Leonard
aka PerlFlunkie
<DL> = Definition List <DT> = Definition Term <DD> = Definition Detail
Remove/replace those codes to alter appearance; it is normal for <DD> to indent whatever it contains.
Leonard
aka PerlFlunkie
Dec 9, 2002, 3:23 AM
Veteran / Moderator (17297 posts)
Dec 9, 2002, 3:23 AM
Post #5 of 6
Views: 868
Trust me soft, you need to edit site_html_templates.pl, by;
$output .= qq|<dl><dt><strong><a class="link" href="$url">$category_name</a></strong> <small class="numlinks">($numlinks)</small> |;
$output .= qq|<small><sup class="new">new</sup></small>| if (&days_old($mod) < $db_new_cutoff);
$output .= qq|</dt>|;
$output .= qq|<dd><span class="descript">$description </span></dd>| if (!($description =~ /^[\s\n]*$/));
$output .= qq|</dl>|;
}
I've done it before, so i know it works
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Code:
# Then we print out the name linked, new if it's new, and popular if its popular. $output .= qq|<dl><dt><strong><a class="link" href="$url">$category_name</a></strong> <small class="numlinks">($numlinks)</small> |;
$output .= qq|<small><sup class="new">new</sup></small>| if (&days_old($mod) < $db_new_cutoff);
$output .= qq|</dt>|;
$output .= qq|<dd><span class="descript">$description </span></dd>| if (!($description =~ /^[\s\n]*$/));
$output .= qq|</dl>|;
}
I've done it before, so i know it works
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates


Re: [MadCool] how Do i Edit the way Category description look?