Sorry for my bad english.
i want to show the expanded tree category. i want to make category tree auto expanded in the module , anyone plz tell me how to do.
tks
to show the expanded tree category
-
sun632
- Phoca Newbie

- Posts: 6
- Joined: 06 Feb 2010, 10:16
to show the expanded tree category
Last edited by sun632 on 03 Mar 2010, 02:12, edited 1 time in total.
-
Ronny
- Phoca Professional

- Posts: 211
- Joined: 03 Nov 2009, 20:31
- Location: Germany
- Contact:
Re: to show the expanded tree category
Hi,
I'm afraid this isn't possible...
Regards,
Ronny
I'm afraid this isn't possible...
Regards,
Ronny
-
sun632
- Phoca Newbie

- Posts: 6
- Joined: 06 Feb 2010, 10:16
Re: to show the expanded tree category
tks.
maybe i didn't express clearly my question. i mean :
in the module , the category tree is in status of expanded from the begining of open website by default.
how to do?
tks
maybe i didn't express clearly my question. i mean :
in the module , the category tree is in status of expanded from the begining of open website by default.
how to do?
tks
-
Ronny
- Phoca Professional

- Posts: 211
- Joined: 03 Nov 2009, 20:31
- Location: Germany
- Contact:
Re: to show the expanded tree category
Hi,
that's exactly what I understood - and this is not possible by default. Maybe this can be customized anywhere in the plugin code.
Regards,
Ronny
that's exactly what I understood - and this is not possible by default. Maybe this can be customized anywhere in the plugin code.
Regards,
Ronny
-
pagchen
- Phoca Newbie

- Posts: 2
- Joined: 10 Jun 2010, 21:23
Re: to show the expanded tree category
It is actually possible, but you need to edit the dtree.js found in the assets folder.
Around line 22, change
this._io = open || false;
to
this._io = open || true;
And now the tree will be expanded when page is loaded.
Beware that this change will be overwritten when you update the module.
cheers.
Around line 22, change
this._io = open || false;
to
this._io = open || true;
And now the tree will be expanded when page is loaded.
Beware that this change will be overwritten when you update the module.
cheers.
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: to show the expanded tree category
Thank you for this info.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
fxer
- Phoca Newbie

- Posts: 1
- Joined: 16 Aug 2011, 16:56
sub categories to remain closed...
Hello All
Thanks phoca for the best joomla image gallery.
I had edited dtree.js :
this._io = open || true;
but it makes all categories and sub categories open, & I want the sub categories to remain closed.
Is there any way to do so ?
Thanks phoca for the best joomla image gallery.
I had edited dtree.js :
this._io = open || true;
but it makes all categories and sub categories open, & I want the sub categories to remain closed.
Is there any way to do so ?
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: to show the expanded tree category
Hi, in fact I don't know as I am not the developer of the tree javascript, so cannot give any advice there 
Jan
Jan
If you find Phoca extensions useful, please support the project