Referencing URL Parameters

gnagy

Joined: 2005-04-28
Posts: 2
Posted: Thu, 2005-04-28 17:28

I am adding some customizations to my Gallery 2 Beta 1 installation, and an having a problem using values from URL parameters in my code. The page I am on has the following URL:

/main.php?g2_view=core:ItemAdmin&g2_subView=core:ItemEdit&g2_itemId=176&g2_editPlugin=CustomFieldItemEdit&g2_showSteps=1&g2_navId=x1faa1ace

I added the parameter g2_showSteps and now I would like to use the value from that parameter in my page. How do I reference this variable? Using just the usual $g2_showSteps method is not working.

Can anyone help?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2005-04-28 19:37

Moved to G2 forum

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-04-28 21:29

GalleryUtilities::getRequestVariables('showSteps');