toggle for categories
toggle for categories
hi all,
On the index page of serendipity there is a sidebar plugin for categories. there all the categories and subcategories also are being displayed at a stretch......Can't we modify it in such a way that only parent categories are displayed with a +/- toggle option such that when clicked near a category, its sub categories should appear?
Please help me by giving an idea as to how to implement this.......
Thanking you in advance for ur help,
sweety
On the index page of serendipity there is a sidebar plugin for categories. there all the categories and subcategories also are being displayed at a stretch......Can't we modify it in such a way that only parent categories are displayed with a +/- toggle option such that when clicked near a category, its sub categories should appear?
Please help me by giving an idea as to how to implement this.......
Thanking you in advance for ur help,
sweety
-
- Regular
- Posts: 450
- Joined: Thu May 26, 2005 10:43 am
- Location: Bonn, Germany
- Contact:
Hi,
I use the "Link list" Plugin to acces my categories. I had to enter each categories URL manually as a seperate link. But its working fine. It also allowed me to include static pages and category links into the same list.
See here
Look at the "Termine" link, and how the subcategories are implemented.
It´s in German but you´ll get the idea!
I use the "Link list" Plugin to acces my categories. I had to enter each categories URL manually as a seperate link. But its working fine. It also allowed me to include static pages and category links into the same list.
See here
Look at the "Termine" link, and how the subcategories are implemented.
It´s in German but you´ll get the idea!
-
- Regular
- Posts: 146
- Joined: Tue Jul 12, 2005 9:12 pm
- Location: Ottawa, Canada
- Contact:
install the category tree menu plugin to get a toggle for your category list.
in 0.9 there are lots of additional options for category display. One i just discovered allows you to display a single parent and only it's children. There is also some work being done on hiding and conditional displaying of categories.
And I forgot to mention you can now turn an entire category into it's own blog.
in 0.9 there are lots of additional options for category display. One i just discovered allows you to display a single parent and only it's children. There is also some work being done on hiding and conditional displaying of categories.
And I forgot to mention you can now turn an entire category into it's own blog.
gw
Yes, and I especially am waiting for that last one because I currently keepgwilsonmail wrote:install the category tree menu plugin to get a toggle for your category list.
in 0.9 there are lots of additional options for category display. One i just discovered allows you to display a single parent and only it's children. There is also some work being done on hiding and conditional displaying of categories.
And I forgot to mention you can now turn an entire category into it's own blog.
a manual listing of articles in a static page. My main blog uses a production
version of s9y so I don't use the 0.9 alpha.
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
-
- Regular
- Posts: 146
- Joined: Tue Jul 12, 2005 9:12 pm
- Location: Ottawa, Canada
- Contact:
hi,
Thank you so much for telling me about the category tree menu.
I tried installing it. But it is asking for pear::tree_menu to be present...
Does this mean that I should install pear and tree_menu seperately?
or is it enough if I place the corresponding files in my plugin? If so , from where can I get those files?
Thank you so much for telling me about the category tree menu.
I tried installing it. But it is asking for pear::tree_menu to be present...
Does this mean that I should install pear and tree_menu seperately?
or is it enough if I place the corresponding files in my plugin? If so , from where can I get those files?
-
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
Pear is the PHP Extension and Application Repository...
TreeMenu is a package distributed through Pear... you can download it at http://pear.php.net/package/HTML_TreeMenu
If you are using a managed server (like through your ISP, or some such) it will be easier to ask who ever manages you server to install the package.
You will need to pay attention to where the images and javascript reside. they will need to be moved into the serendipity directory structure somewhere (I don't remember where, off hand, but if you need help shoot me a message)
TreeMenu is a package distributed through Pear... you can download it at http://pear.php.net/package/HTML_TreeMenu
If you are using a managed server (like through your ISP, or some such) it will be easier to ask who ever manages you server to install the package.
You will need to pay attention to where the images and javascript reside. they will need to be moved into the serendipity directory structure somewhere (I don't remember where, off hand, but if you need help shoot me a message)
-
- Regular
- Posts: 146
- Joined: Tue Jul 12, 2005 9:12 pm
- Location: Ottawa, Canada
- Contact:
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I just want to clarify that 0.9 only contains core required PEAR packages! HTML:TreeMenu is not part of those, you need to manually install that package on your server.
Regards,
Garvin
Regards,
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/
TreeMenu gives errors
Hi Garvin,
I installed the HTML_TreeMenu package to the Bundled libs directory in s9y 0.8.5, and renamed the default directory from HTML_TreeMenu-1.2.0 to HTML so that the Category Tree program can find it...
So the directory structure looks like this:
bundled-libs/HTML/
TreeMenu.js
TreeMenu.php
docs
images
imagesAlt
imagesAlt2
But now the category tree module simply displays nothing, and give the javascript error 'Line 238: TreeMenu is undefined.
Can you point me inthe right direction please - have I done somethign wrong?
Cheers
Rob
I installed the HTML_TreeMenu package to the Bundled libs directory in s9y 0.8.5, and renamed the default directory from HTML_TreeMenu-1.2.0 to HTML so that the Category Tree program can find it...
So the directory structure looks like this:
bundled-libs/HTML/
TreeMenu.js
TreeMenu.php
docs
images
imagesAlt
imagesAlt2
But now the category tree module simply displays nothing, and give the javascript error 'Line 238: TreeMenu is undefined.
Can you point me inthe right direction please - have I done somethign wrong?
Cheers
Rob
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: TreeMenu gives errors
Rob, what's the URL to your blog? Most presumable, the path to the JS of the TreeMenu is just wrong or misconfigured in the plugin...
Regards,
Garvin
Regards,
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/
-
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
I believe the path to the images and the javascript is configurable...
The defaults (should be under the plugin config) are:
"plugins/serendipity_plugin_category_dhtml_menu/img"
"plugins/serendipity_plugin_category_dhtml_menu/TreeMenu.js"
(we are talking about serendipity_plugin_category_dhtml_menu, right?)
So, you should be able to either move the images directory and the javascript to match those pathes, or changes the paths to match the actual location of the files.
The defaults (should be under the plugin config) are:
"plugins/serendipity_plugin_category_dhtml_menu/img"
"plugins/serendipity_plugin_category_dhtml_menu/TreeMenu.js"
(we are talking about serendipity_plugin_category_dhtml_menu, right?)
So, you should be able to either move the images directory and the javascript to match those pathes, or changes the paths to match the actual location of the files.
hi all,
i installed the plugin and also download treemenu.js and rest of the files..it is working fine for me now.thanks a lot for ur help
but i have a small problem
in my site i have the tree plugin to the right side..it has a toggle at the top +/- ...and those are working fine for expansion and collapsing of the plugin..but there is another +/- beneath the present +/- toggle....on operating it ,it is working for the other plugin which is beneath it..
i.e..., i have my tree plugin with a +/- toggle and also another +/- toggle near it which is working for the plugin beneath the tree structure plugin...
and also this problem is coming if i keep the tree plugin in the middle of any other plugins...if my tree plugin is put at the end of all plugins then this problem is not arising.....
i hope i am clear.....
also the title is not appearing for the tree structure if we collapse the plugin with - toggle....it is also getting shrinked with the entire plugin..
can my issues be solved????:-(
i installed the plugin and also download treemenu.js and rest of the files..it is working fine for me now.thanks a lot for ur help
but i have a small problem
in my site i have the tree plugin to the right side..it has a toggle at the top +/- ...and those are working fine for expansion and collapsing of the plugin..but there is another +/- beneath the present +/- toggle....on operating it ,it is working for the other plugin which is beneath it..
i.e..., i have my tree plugin with a +/- toggle and also another +/- toggle near it which is working for the plugin beneath the tree structure plugin...
and also this problem is coming if i keep the tree plugin in the middle of any other plugins...if my tree plugin is put at the end of all plugins then this problem is not arising.....
i hope i am clear.....
also the title is not appearing for the tree structure if we collapse the plugin with - toggle....it is also getting shrinked with the entire plugin..
can my issues be solved????:-(
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Sweety, this sounds like a CSS issue. You'll need to post your URL so that we can understand it.
Regards,
Garvin
Regards,
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/
HTML_TreeMenu - where and how to ?
Hi,
Where (and how) must be installed HTML_TreeMenu in s9y directory structure ? I already have 'bundled-libs\HTTP' and it has something in it.
Ivan
Where (and how) must be installed HTML_TreeMenu in s9y directory structure ? I already have 'bundled-libs\HTTP' and it has something in it.
Ivan