I am try writing my first own module. Can any one help?
I want to call a stylesheet from CMSMS
The the CMSMS template You can call {stylesheet name="maincss") etc.
I want to echo something like this
Code: Select all
<link rel="stylesheet" type="text/css" media="screen" href="http://mywebsite.net/stylesheet.php?cssid=72&mediatype=screen">
Code: Select all
$params[name'] = 'mystylesheet';
$params[tag'] = 'stylesheet';
return cms_module_plugin($params,$smarty);
Sorry I am new to this.
Andrew