SOLVED - $mainframe->addCustomHeadTag doesn't work
Posted: Thu Oct 25, 2007 2:20 pm
I'm making a simple component and want to include some JS & CSS to the header, here's my 1st lines of the component :
and it doesn't work !!
-------------------
It was a problem with my code !
Code: Select all
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$head = "<script type="text/javascript" src="/js/bsn.AutoSuggest_2.1.3.js"></script>";
$head .= "<link rel="stylesheet" href="css/autosuggest_inquisitor.css" type="text/css" media="screen"/>";
$mainframe->addCustomHeadTag('$head');
and it doesn't work !!
-------------------
It was a problem with my code !