Tree Module Dissapearing when clicked on

Phoca Gallery modules - modules for Phoca Gallery extension
swiftmed
Phoca Member
Phoca Member
Posts: 26
Joined: 07 Jan 2009, 06:51

Tree Module Dissapearing when clicked on

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Tree Module Dissapearing when clicked on

Post by Jan »

Do you have enabled the module (see module settings) for all links (Itemid), mainly for gallery - categories view Itemid?

Jan
If you find Phoca extensions useful, please support the project
swiftmed
Phoca Member
Phoca Member
Posts: 26
Joined: 07 Jan 2009, 06:51

Re: Tree Module Dissapearing when clicked on

Post 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.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Tree Module Dissapearing when clicked on

Post by caro84g »

Hi,

go to the module manager and check your parameters.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
swiftmed
Phoca Member
Phoca Member
Posts: 26
Joined: 07 Jan 2009, 06:51

Re: Tree Module Dissapearing when clicked on

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Tree Module Dissapearing when clicked on

Post 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)
If you find Phoca extensions useful, please support the project
bfahnoe
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 Jan 2009, 21:07

Re: Tree Module Dissapearing when clicked on

Post 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
bfahnoe
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 Jan 2009, 21:07

Re: Tree Module Dissapearing when clicked on

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Tree Module Dissapearing when clicked on

Post 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! :(
If you find Phoca extensions useful, please support the project
vdneut
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 13 Aug 2009, 18:56

Re: Tree Module Dissapearing when clicked on

Post 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?! :|
Post Reply