Calling stylesheet tag in a module
Posted: Wed Mar 03, 2010 1:46 pm
Hi
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
How I use it in my module. I tried using below but nothing happending.
s
Sorry I am new to this.
Andrew
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