Page 1 of 2

Tree Module Dissapearing when clicked on

Posted: 10 Jan 2009, 04:20
by swiftmed
Hey again,

Ive installed the tree module which you have created for this gallery, but im having a slight problem with it. It displays fine when any area of my gallery is viewed, however when you click on a category through the tree module, it goes to that category, then the module dissapears.

Also when a category is clicked on through the module, this is the url which is shown:

Code: Select all

http://www.mileycyrus-online.co.uk/component/phocagallery/category/7-miley-cyrus-kiss-fm-wango-tango-pictures
when it should be:

Code: Select all

http://www.mileycyrus-online.co.uk/miley-cyrus-photos/category/7-miley-cyrus-kiss-fm-wango-tango-pictures
it seems the following is being inserted into the url "/component/phocagallery/"

Any ideas guys?

Thanks
Andy

Re: Tree Module Dissapearing when clicked on

Posted: 12 Jan 2009, 21:43
by Jan
Do you have enabled the module (see module settings) for all links (Itemid), mainly for gallery - categories view Itemid?

Jan

Re: Tree Module Dissapearing when clicked on

Posted: 13 Jan 2009, 00:22
by swiftmed
Jan wrote:Do you have enabled the module (see module settings) for all links (Itemid), mainly for gallery - categories view Itemid?

Jan
Im sorry Jan, i dont understand what you mean....could you elaborate a bit more for me please?

sorry to be a pain.

Re: Tree Module Dissapearing when clicked on

Posted: 13 Jan 2009, 10:40
by caro84g
Hi,

go to the module manager and check your parameters.

Regards, Carolien

Re: Tree Module Dissapearing when clicked on

Posted: 13 Jan 2009, 23:34
by swiftmed
Hi,

ive looked in the parameters of the module, and there is nothing there which is applicable to what you said. Please see the below screenshot:

Image

Im sorry if im being 'thick', i just dont understand where 'exactly' you want me to look??

I appreciate your advice though, hopefully you can help me find a solution :cry:

Re: Tree Module Dissapearing when clicked on

Posted: 16 Jan 2009, 23:59
by Jan
Menu Assigment should be set to "ALL" ... in other case it will be displayed only on one site (as it is set in your screenshot)

Re: Tree Module Dissapearing when clicked on

Posted: 19 Feb 2009, 23:38
by bfahnoe
But if you set that to all, the phoca treemenu will show on all pages on the web.
Can the treemenu be showed only on the phoca categories pages? but on all of theese.
Bjørn

Re: Tree Module Dissapearing when clicked on

Posted: 19 Feb 2009, 23:45
by bfahnoe
Sorry, when I selected the menuitem on my dummymenu to show pagination on all categories selected by the treemenu, the treemenu also showed on all category pages
Bjørn

Re: Tree Module Dissapearing when clicked on

Posted: 16 Apr 2009, 01:13
by Jan
Perhaps what we need is a change to the core Joomla which adds a new option to the "Menu Assignments" of "do not show module in selected menus". In this way the default would be to display the module EXCEPT in the selected menus.
I have asked for such feature, but there is not in Joomla! :(

Re: Tree Module Dissapearing when clicked on

Posted: 13 Aug 2009, 19:20
by vdneut
I'm facing the same problem and the suggested solution in the previous post is a workaround which should not be considered in my opinion.

The problem is (like swiftmed described in its initial post) that when using SEO (!!!) the url is not written correctly.
It shows '/component' between the domain-name and the start of the phoca-galery category.

Like:
.../component/phocagallery/category/2-subalbum-1-1
instead of:
.../phoca-galery/category/2-subalbum-1-1

The reason the tree disapears is that when you select specific menu points to show the module (not ALL), Joomla! uses the url to determine if the module should be shown or not. Due to the '/component' thing the url does not match any selected menu position.

:o I found that the original url (not using SEO) gives an Item=0 at the end! This number is used by SEF for converting the original url to a SEF url. So... changing the source such that the correct Itemid is written in the url should do the trick!

I hope this info helps to solve the problem. Please let me know if more info / debugging is needed.

Regards, Nico

PS. The root of the tree does show the correct url!
PS2 The tree module of the Phoca Download component works fine, which has the same base?! :|