Page 1 of 1

Galleries Display differently depending on access point

Posted: 11 Dec 2008, 19:47
by Nigel_Aves
Joomla 1.5.8
Phoca Gallery 2.1.0 RC
mod_rewrite = On
Search Engine Friendy URLs = ON
web site - http://soft-focus-imagining.com
Global Params are used in all galleries.
Hierarcy is Thumb Gallery (parent) with the rest being sub galleries. (Eventually there will be more than one Parent Gallery hence this setup).

The Problem.

Depending on which link or navigation from within the "gallery" I get different display (back ground colours, working "icons" at bottom of thumbnail etc). And this might be the cause; the URL is also different depending on how the page was reached.

Reproduce Issue

in mainmenu I have a link that displays the top most level of the gallery and opens a sub menu that contains the top most level and all the sub levels. (titled - Thumbnail Galleries)

When accessed from the mainmenu the url is shown as http://soft-focus-imagining.com/thumbnail-galleries and displays correctly

If I click one of the thumbnails then it goes to http://soft-focus-imagining.com/thumbna ... ry/2-ste-v and displays correctly (Using the settings from Global Parameters).

If I now click the same gallery from the Thumbnails menu it goes here http://soft-focus-imagining.com/ste-v and does not display correctly (seems to be using all the original default settings).

Another way that reproduces this is to be in a sub-gallery and press the back arrow to go to the main gallery. Now the URL displays as http://soft-focus-imagining.com/ste-v/category/8- and displays incorrectly.

Minor issue that's probably operator error.

I have the "Show Feeds" set to On (all galleries) but no where do I see a feed icon for the Gallery.

If you need screenshots I can provide or just visit my site and you'll see the differences following the above.

All this said. This is a wonderful product. Makes creating and displaying Galleries very simple.

Nigel Aves.

Re: Galleries Display differently depending on access point

Posted: 11 Dec 2008, 21:59
by caro84g
Hi,

some of the menu items from the thumbnails menu have the right background and some don't. Apparently some menu items don't take the global settings.

Could you check in your menu item (component parameters) if the global is taken, or that some other color is defined?

And as quick fix, you can define the right color

Regards, Carolien

Re: Galleries Display differently depending on access point

Posted: 11 Dec 2008, 22:16
by Nigel_Aves
Carolien,

Just double checked and everything is set to use the Globals ....

It's also strange how the "reported" URL is changing as well depending on a thumbnail select or a menu select. Pretty sure it's all related.

The only thing your suggestion does not fix is the "back arrow" in the Gallery. That always seems to re-set to "default".

I'll play around some more tonight.

Regards,

Nigel.

Re: Galleries Display differently depending on access point

Posted: 11 Dec 2008, 22:36
by caro84g
Hi,

the URL is based on the menu item, and when you press the back button, Phoca Gallery looks for another available menu item. That's why you get these different URL's.

With a menu item, the component parameters override the global parameters. When you navigate within this menu item, these parameters keep ruling. If you press the back button, and it goes to the other menu item, then it takes the parameters of that menu item.

Regards, Carolien

Re: Galleries Display differently depending on access point

Posted: 11 Dec 2008, 23:12
by Nigel_Aves
I'm not sure I fully understand you explaination.

If the top most Parent Catagory is called Parent and we have a child giving us this : Parent>Child (Please remember I'm no programmer) why would calling the catagory "Parent" be any different from the menu or from the Child's back arrow ? In both cases the target should be identical : Parent

Anyways, it sounds like it's a bug worth fixing. No matter how you get to a page it should always display the same way and the URL should never change.

Nigel.

Re: Galleries Display differently depending on access point

Posted: 12 Dec 2008, 20:05
by Jan
Anyways, it sounds like it's a bug worth fixing. No matter how you get to a page it should always display the same way and the URL should never change
No in Joomla! 1.5 ... In Joomla! 1.5 there are used Itemids(they create the link and add the settings). Itemids are linked with menu links but we don't work only with menu links but with other component links too :-( . Problem with different links can come e.g. in this case:

- you will create a gallery link (to one category) and
- you will create a gallery link (to all categories) and
- you will create a gallery random image module... e.g.

There are categories and subcategories, so if you are in some subcategory you can go back to category and to the root, but there are a lot of possible places from where you can go to root, so it depends on user which settings will be displayed. If user will set for every different links different settings but he will use the "walking" through different links (different settings) then there is no option how to stop displaying different settings... :-(

see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla

:(

Jan

Re: Galleries Display differently depending on access point

Posted: 12 Dec 2008, 22:50
by Nigel_Aves
Jan - Thanks for the reply. I'm trying to get a grasp on all this and my head hurts! :x

I understand how this all ties together now and I can see that when "menu" controls what is displayed all is good (and I never had a problem with that). The problem seems to be when Phoca takes over when using something like it's "back button" from a child to a parent. That's when the URL goes all screwy.

Is it at all possible to set the back button to a menu item?

It looks like my quick fix is to stop using the back buttons in sub galleries and make users always use a menu link.

Many Thanks for yours and Caros' help.

This is the only aspect of your tools that I have had a problem with. Easy to use and understand.

Have a great weekend.

If your not doing anything Saturday morning I could sure use a WYSIWYG CSS editor for Joomla :D ok ok I'll stop being the :evil:

Nigel.

Re: Galleries Display differently depending on access point

Posted: 16 Dec 2008, 18:50
by Jan
Is it at all possible to set the back button to a menu item?

The back button is created this way. It tries to find the menu item to all categories, if it find some, it will use this itemid and this link for creating the back link... so back link is linked to all categories... this way it is done in first level (category -> root: in case there is no parent category) if there is a parent category, then the link is created to parent category but in this case the itemid cannot be changed and it is used the itemid of link from which you are comming :-(.