URL With more than one parameter

Bluesboy
Bluesboy's picture

Joined: 2007-11-11
Posts: 30
Posted: Sun, 2007-12-09 21:23

Why does the combination of these two parameters, language and item, not work?
http://www.MySite.nl/gallery2/main.php?g2_itemId=227?g2_language=en
or
http://www.MySite.nl/gallery2/main.php?g2_language=en?g2_itemId=227
Both fail to give me the result I'm looking for ... :-(

Up till now I used two different URL's to link to Gallery 2 from Joomla, just using an iFrame (wrapper).

Is case a visitor has chosen the Dutch language on my site, i can use:
http://www.MySite.nl/gallery2/main.php?g2_language=nl

When the visitor has chosen the English language, I can use:
http://www.MySite.nl/gallery2/main.php?g2_language=nl

Now I want to combine this with the link I can use for a specific (sub)album:
http://www.MySite.nl/gallery2/main.php?g2_itemId=227

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2007-12-10 01:32

Use the ? to break the url from the args and separate the args with &
http://www.MySite.nl/gallery2/main.php?g2_itemId=227&g2_language=en

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Bluesboy
Bluesboy's picture

Joined: 2007-11-11
Posts: 30
Posted: Mon, 2007-12-10 21:47

Thanks, this works fine. :-)

Is g2_itemId=number the only way to adress a specific album?
Or is there an other / better way?
Could I for instance use the unique name of an album?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2007-12-10 21:55
 
Bluesboy
Bluesboy's picture

Joined: 2007-11-11
Posts: 30
Posted: Mon, 2007-12-10 22:08

Thanks, again.

I'll also try the Permalinks Module ... :-)