I'm building my first module and I managed, with the help of this forum, to develop the complete backend, administrative, part.
Now I want to build the frontend but ....
I created a link in action.default.php
Code: Select all
$onerow->name = $this->CreateLink($id, 'domaindetail', $returnid, $row['name'], array('domain_id'=>$row['domain_id']));
When I open the page and put my cursor on the link it shows :
Code: Select all
http://{mydomain}/index.php?mact=MFM,cntnt01,domaindetail,0&cntnt01domain_id=1&cntnt01returnid=57
As you can see, the domain_id is in the link but when I try to get the domain_it in the following code using $params there seems to be no $params('domain_id'). Print_r($params) shows 'Array ( [returnid] => 57 [action] => domaindetail'. There is no domain_id.
It works in backend. why not in frontend ?
Please help