How to pass extra GET variables

Hi guys,

I must pass a GET variables from the main page (layout page) to another page.

I tried this:

href="<?php echo $this->createUrl('/site/page/',array('view'=>'impianti','ajaxSelector'=>'fotovoltaico')); ?>"

so when I click there, the paged referred to "impianti" would manage the ajaxSelector variable (in this case would be filled with "fotovoltaico"), but when I click there, I get an error - "Undefined index: ajaxSelector".

How can I pass GET variables??


This code is good it creates the proper link and you can click it, right…

so the error happens later when you click this link… what is the code that "handles" this parameter…