Jump to content

Create modulelink with params using smarty


piribipipi

Recommended Posts

I want to create a module link using smarty,  if the module link dont need params, its ok, it would be something like:

{$link->getModuleLink('module_name', 'controller_name')|escape:'html':'UTF-8'}

but  i need to send some parameters to the function... is that possible using smarty???? (i dont have problems using php). Something like:

{$link->getModuleLink('module_name', 'controller_name', array('param1' => 'value1', 'param2' => 'value2'))|escape:'html':'UTF-8'}

But im obtaining a smarty error...

 

Any idea?? 

 

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...