Share » Forums » Developer » How to get my URL variables into my...

How to get my URL variables into my extension ?

How to get my URL variables into my extension ?

Friday 17 July 2009 6:54:48 am - 2 replies

Modified on Wednesday 24 March 2010 1:16:44 am by Damien MARTIN

Author Message

Gaetano Giunta

Friday 17 July 2009 7:25:22 am

You should declare your view variables in the module.php file.

In this case, it is a named var (as opposed to positional ones), so you should add something like this:
$ViewList = array(
'telecharger' => array(
// other stuff here...
'unordered_params' => array( 'document' => 'document' )

Then you recover them as
$document= (string) $Params['document'];

Principal Consultant International Business
Member of the Community Project Board

Damien MARTIN

Friday 17 July 2009 7:36:19 am

Thank you very much Gaetano, it works very well !

:)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu