Page 1 of 1
Is it possible to compress the list of the categories?
Posted: Mon Jan 01, 2007 11:40 pm
by maria
My use of serendipity is based in creating a lot of categories, so, in the template view, viewing all the categories, parents and childrens, is quite difficult to us.....I would like a tree structure of categories based on display them if one believes that is necessary, some menu with '+' option,
in the index page, showing only the parent ones, and then with the '+' option, view the childrens.
In oder words: Some way to compress the list of categories at the view of index page.
I don't know if it's easy to fix that I am over looking... but I figured that someone would be able to help me ...
Thanks!!
Maria
Posted: Tue Jan 02, 2007 10:08 am
by Davy
serendipity_plugin_category_dhtml_menu.php
Posted: Tue Jan 02, 2007 11:14 am
by maria
Thanks Davy for your quickly answer, I've tried to install your plugin, but a message appears in the index.php screen saying:
Please install PEAR package HTML_TreeMenu to enable this plugin.
So, I can't see the working of the serendipity_plugin_category_dhtml_menu.php plugin.
do you know when I can find the PEAR package HTML_TreeMenu in order to install?
Thanks very very much!!
Maria
Re: serendipity_plugin_category_dhtml_menu.php
Posted: Tue Jan 02, 2007 11:17 am
by yellowled
maria wrote:do you know when I can find the PEAR package HTML_TreeMenu in order to install?
http://pear.php.net/package/HTML_TreeMenu
YL
http://pear.php.net/package/HTML_TreeMenu
Posted: Tue Jan 02, 2007 11:33 am
by maria
Thanks a lot YL!!!
I've the package, but I'm lost in the documentation about how to install it.
What do you recommend me?
Have a nice day!!
Maria
Re: http://pear.php.net/package/HTML_TreeMenu
Posted: Tue Jan 02, 2007 11:35 am
by garvinhicking
Hi!
The easiest way should be to install the "HTML/Tree" files into your "bundled-libs" directory from s9y. There, s9y should find it automatically.
HTH,
Garvin
to install the "HTML/Tree" files into your "b
Posted: Tue Jan 02, 2007 12:01 pm
by maria
Sorry for my missunderstanding, but I don't know exactly what do you mean.
I've put the package as /doc/serendipity/bundled-libs/HTML_TreeMenu-1.2.0 , and in that directory I've:
docs images imagesAlt imagesAlt2 TreeMenu.js TreeMenu.php
should it be enough?
What I should do in order that this takes effect?
THANKS in capital letters!
Maria
Re: to install the "HTML/Tree" files into your &qu
Posted: Tue Jan 02, 2007 12:04 pm
by garvinhicking
Hi!
Put the files in
/doc/serendipity/bundled-libs/HTML/
!
HTH,
Garvin
How can I compress the list of categories with the plugin
Posted: Tue Jan 02, 2007 12:12 pm
by maria
OK, now I've HTML_TreeMenu-1.2.0 without any problems in my blog.
But I can't have the plugin:
serendipity_plugin_category_dhtml_menu.zip working as I desired, it means, I would like to have the view of parent categories only, and the children compressed, with a "+" sign or similar in order to have the possibility to expand the tree.
Do I need to configure something else?
Thanks for ever,
Maria
Re: How can I compress the list of categories with the plugi
Posted: Tue Jan 02, 2007 12:22 pm
by garvinhicking
Hi!
How does it look now? What's your URL?
It should offer you inflatable categories!
Regards,
Garvin
It should offer you inflatable categories!
Posted: Tue Jan 02, 2007 4:35 pm
by maria
My url is
http://159.23.98.66/serendipity/index.php but I think that is forbidden from out of Alcatel-Lucent.
No, I can't view the inflatable categories, my view is:
Categories
customers
orange
orange071206
ONO MVNO
platforms
All categories
configuration plugin
Posted: Tue Jan 02, 2007 4:47 pm
by maria
The configuration of this plugin is:
Name: Category Tree Menu
Description: DHTML category menu. Requires PEAR::HTML_TreeMenu.
Title
Path to images
The absolute (URL) path to your images directory
Here there is: plugins/serendipity_plugin_category_dhtml_menu/img
Path to HTMLTree.js
the absolute (url) path to your HTMLTree.js (provided with PEAR::HTML_TreeMenu).
Here there is: plugins/serendipity_plugin_category_dhtml_menu/TreeMenu.js
but the img and TreeMenu.js doesn't exist, is it correct??
[root@sewebt serendipity_plugin_category_dhtml_menu]# pwd
/doc/serendipity/plugins/serendipity_plugin_category_dhtml_menu
[root@sewebt serendipity_plugin_category_dhtml_menu]# ls
CVS lang_en.inc.php serendipity_plugin_category_dhtml_menu.php
lang_bg.inc.php lang_ja.inc.php UTF-8
It works now!!
Posted: Tue Jan 02, 2007 8:51 pm
by maria
I've modified the configuration of the plugin in order to point to the /doc/serendipity/bundled-libs/HTML and now the category menu is working properly.
Great!!