joomla add script and css in module

joomla add script and css in module $document =& JFactory::getDocument(); $document->addStyleSheet(JURI::root().’media/system/css/calendar.css’); $document->addScript(JURI::root().’media/system/js/calendar_shift1.js’); $document->addScript(JURI::root().’media/system/js/validation.js’);

Read more
%d bloggers like this: