bug : Add .css file failed

Bug seems in

 

      function addCss($mixedFiles, $bDynamic = false) { ... } in file BxDolTemplate.php .

 

If the second param  $bDynamic ==true, it works. But if  $bDynamic ==false, the .css file won't be included (linked) to resulted page code.

 

For example, modules/boonex/messanger/classes/BxMsgModule.php, line 142

 

      $sResult .= $this->_oTemplate->addCss("invitation.css", true); is ok.

 

But in inc/classes/BxDolTwigModule.php, line 409

 

      $this->_oTemplate->addCss ('main.css');

 

dosn't work. You can't find the main.css link in the output source ocde  of browser page.

 

Does anyone disagree with this ?

Quote · 5 Nov 2009

I wonder whether the .css file should be cached. Anyway, If you try to modify the module file to include another new .css file, it would failed too.

 

I'm not sure how about .js files.

Quote · 5 Nov 2009

You don not see inclusion of your css file because its content is cached and is included using other combined css file, when you output css file explicity with  true option it is not cached and you can e it anyway. Try to disable cache in admin panel to disable cache and see how it work.

Rules → http://www.boonex.com/terms
Quote · 5 Nov 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.