How to create two views for Gallery Module

Phoca Gallery modules - modules for Phoca Gallery extension
molla_marru
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Dec 2009, 04:43

How to create two views for Gallery Module

Post by molla_marru »

Background
I am working on a website that is divided into two sections (languages A and B) using different templates. The two sections are separated by menu as follow:

Language-A
- Menu-1
--->Phoca Image Gallery Original
- Menu-2
- Menu-3

Language-B
- Menu-4
--->Phoca Image Gallery Duplicate
- Menu-5
- Menu-6

My Question
I displayed 'Phoca Image Gallery Original' under ‘Menu-1’ for 'Language-A' and 'Phoca Image Gallery Duplicate' under ‘Menu-4’ for ‘Language-B’ as shown above. So far everything is as expected, ‘Phoca Image Gallery' displayed in both languages (A & B). When I click on ‘Phoca Image Gallery Original’images which under ‘Menu-1’, they opens under ‘Menu-1’ inside ‘Language-A’ as expected. However when I click on the ‘Phoca Image Gallery Duplicate’ images which are under ‘Meun-4’, the jambs back to ‘Menu-1’ and open inside ‘Language-A’ instead of opening under ‘Menu-4’ inside ‘Language-B

How is it possible to open ‘Phoca Image Gallery Duplicate’ images under ‘Meun-4’ inside ‘Language-B’?

Thanks for your help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to create two views for Gallery Module

Post by Jan »

Hi, this is related to Joomla! menu link features and how they works, if you are creating more menu links to one component, you need to skip back links (e.g. to categories view) becasue the system knows, it should go back but have no information (while searching for menu link ID - Itemid) what is the tree of menu links :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply