I'm testing the "Category Tree Menu" plugin, it seems very useful for me.
Just one of question: I can't have the title ("Categorie") displayed on the title of the plugin in the sidebar (You can check my blog at "http://www.koinesistemi.it/blog/molinette/", sorry it's italian ...), whilst I have it displayed as a "subtitle", _inside_ the plugin content, before the categories names.
Is it by design, is it a bug, or do I miss something ?
Thanks in advance for Your attention !
Marcolino
Category Tree Menu Title ?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Category Tree Menu Title ?
Hi!
Are you using version 1.9 of this plugin? Usually the title you configured in the plugin'S configuration there should show up as the top title.
Sadly, a link "Categories" would then also show up as the heading of the treenode itself.
The plugin was developed with the default theme in mind, so in yours it does look a bit odd.
You could remedy this situation by editing the serendipity_plugin_category_dhtml_menu.php file and remove this line:
HTH,
Garvin
Are you using version 1.9 of this plugin? Usually the title you configured in the plugin'S configuration there should show up as the top title.
Sadly, a link "Categories" would then also show up as the heading of the treenode itself.
The plugin was developed with the default theme in mind, so in yours it does look a bit odd.
You could remedy this situation by editing the serendipity_plugin_category_dhtml_menu.php file and remove this line:
Code: Select all
$cat_nodes[0] = new HTML_TreeNode(array('text'=>'<span class="serendipitySideBarTitle">'.$this->get_config('title', $title).'</span>'));
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: Category Tree Menu Title ?
Hi, Gravin
thank You so much !!! I was using 1.2 ... ;-(
However, after removing the line You suggested, I had to add a line like this one:
, otherwise a PHP syntax error would emerge ... Now there is a blank line, instead of the 'inner' title, but it is not too annoying ...
Thank You so much again !
Best regards.
thank You so much !!! I was using 1.2 ... ;-(
However, after removing the line You suggested, I had to add a line like this one:
Code: Select all
$cat_nodes[0] = new HTML_TreeNode();
Thank You so much again !
Best regards.
garvinhicking wrote:Hi!
Are you using version 1.9 of this plugin? Usually the title you configured in the plugin'S configuration there should show up as the top title.
Sadly, a link "Categories" would then also show up as the heading of the treenode itself.
The plugin was developed with the default theme in mind, so in yours it does look a bit odd.
You could remedy this situation by editing the serendipity_plugin_category_dhtml_menu.php file and remove this line:
HTH,Code: Select all
$cat_nodes[0] = new HTML_TreeNode(array('text'=>'<span class="serendipitySideBarTitle">'.$this->get_config('title', $title).'</span>'));
Garvin