I'm having a little problem with a module I'm working on. The module is an event registration module. When a new event is created it gives the admin user the option to include the event in CGCalendars. I can add the record to CGCalendars without any trouble at all. The issue that I'm having has to do with a link that I would like to include in the description of CGCalendars.
I create the link like this:
Code: Select all
$signuplink = $this->CreateLink($id,'signup',$returnid,$this->Lang('signup'),array('eventid'=>$eventid));
http://dev.golfservers.net/admin/module ... _eventid=5
and it's suppose to output this:
http://dev.golfservers.net/index.php?ma ... eturnid=58
This is how I have created the above link - this link is passed to smarty and outputed using a smarty tpl:
Code: Select all
$this->CreateLink($id,'signup',$returnid,$this->Lang('signup'),array('eventid'=>$row['event_id']));