Um eine Oberkategorie von den Unterkategorien abzuhaben, würde ich die Oberkategorie gerne FETT darstellen. Wie geht das?
Danke für Eure Hilfe....
Fettschrift für Oberkategorie
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Fettschrift für Oberkategorie
Du meinst vermutlich im Seitenleisten-Plugin, oder?
Dafür musst du als erstes im Plugin die Option "Smarty-Template aktivieren" aktivieren, und Dir dann die Datei "plugin_categories.tpl" im Editor Deiner Wahl zur Brust nehmen.
Dort findest Du folgende Zeilen:
Ändere dies in:
Ich habe also die Zeile
dort entsprechend eingesetzt um die Fettschrift zu forcieren.
Viele Grüße,
Garvin
Dafür musst du als erstes im Plugin die Option "Smarty-Template aktivieren" aktivieren, und Dir dann die Datei "plugin_categories.tpl" im Editor Deiner Wahl zur Brust nehmen.
Dort findest Du folgende Zeilen:
Code: Select all
{foreach from=$categories item="plugin_category"}
<li style="display: block;">
{if $is_form}
<input style="width: 15px" type="checkbox" name="serendipity[multiCat][]" value="{$plugin_category.categoryid}" />
{/if}
{if !empty($category_image)}
<a class="serendipity_xml_icon" href="{$plugin_category.feedCategoryURL}"><img src="{$category_image}" alt="XML" style="border: 0px" /></a>
{/if}
<a href="{$plugin_category.categoryURL}" title="{$plugin_category.category_description|escape}" style="padding-left: {$plugin_category.paddingPx}px">{$plugin_category.category_name|escape}</a>
</li>
{/foreach}
Code: Select all
{foreach from=$categories item="plugin_category"}
<li style="display: block;">
{if $is_form}
<input style="width: 15px" type="checkbox" name="serendipity[multiCat][]" value="{$plugin_category.categoryid}" />
{/if}
{if !empty($category_image)}
<a class="serendipity_xml_icon" href="{$plugin_category.feedCategoryURL}"><img src="{$category_image}" alt="XML" style="border: 0px" /></a>
{/if}
<a href="{$plugin_category.categoryURL}" title="{$plugin_category.category_description|escape}" style="padding-left: {$plugin_category.paddingPx}px">{if $plugin_category.depth <= 1}<strong>{/if} {$plugin_category.category_name|escape}{if $plugin_category.depth <= 1}</strong>{/if}</a>
</li>
{/foreach}
Code: Select all
{if $plugin_category.depth <= 1}<strong>{/if}
Viele Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Fettschrift für Oberkategorie
Und wenn man jetzt noch stattgarvinhicking wrote:Du meinst vermutlich im Seitenleisten-Plugin, oder?
Ich habe also die Zeile
dort entsprechend eingesetzt um die Fettschrift zu forcieren.Code: Select all
{if $plugin_category.depth <= 1}<strong>{/if}
Viele Grüße,
Garvin
Code: Select all
{if $plugin_category.depth <= 1}<strong>{/if}
Code: Select all
{if $plugin_category.depth <= 0}<strong>{/if}
mfg
Hadley