Hugilore111
Member
How to pass an additional parameter to a link in a template
I want to pass the second link parameter to my controller &eg=two
I write like this
does not work
I want to pass the second link parameter to my controller &eg=two
Code:
http://test.com/index.php?router/main&type=one&type=two
Code:
$viewParams = array(
'type'=>$one,
'type2'=>$type2,
);
I write like this
Code:
<a href="{xen:link router/example, '','type={$type}' 'type2={$type2}'}"></a>