Forums / Cotonti / Extensions / CSS called by plugin

Trustmaster
#36329 2012-11-23 17:13

If you only want to use it on your plugin page and you are not going to consolidate it with other site stylesheets, then you can simply add it using cot_rc_link_footer() function in your main php file:

cot_rc_link_footer($cfg['plugins_dir'] . '/myplug/tpl/myplug.css')

 

May the Source be with you!