Page 1 of 1

Calling stylesheet tag in a module

Posted: Wed Mar 03, 2010 1:46 pm
by andrewvideo
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

Code: Select all

<link rel="stylesheet" type="text/css" media="screen" href="http://mywebsite.net/stylesheet.php?cssid=72&mediatype=screen">
How I use it in my module. I tried using below but nothing happending.

Code: Select all

$params[name'] = 'mystylesheet';
$params[tag'] = 'stylesheet';
  return cms_module_plugin($params,$smarty);
s
Sorry I am new to this.

Andrew

Re: Calling stylesheet tag in a module

Posted: Mon Mar 08, 2010 3:01 pm
by andrewvideo
Anyone  ???