$_GET

bobydick

Joined: 2007-05-31
Posts: 3
Posted: Tue, 2007-07-31 10:15

how the freak can i get the $_GET variables in the theme template?!
i want to hide the sidebar.tpl depending on if i'm on the 'home' gallery page or not...

thinking of checking for g2_itemId... any other way?

thank you...

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2007-08-01 00:09

{if empty($theme.parent)} this is the root album {/if}

or

{php} if ($_GET['something'] == 'something') { {/php}