View Single Post
  #4  
Old 09-18-2012, 01:17 PM
 
Cpt.Crashtastic Cpt.Crashtastic is offline
 

eXpert
  
Join Date: Jan 2006
Posts: 219
 

Default Re: Overiding CDev Module css

Right I figured out how to call the list and created a bit of rough and ready code to remove the item from the list as follows.

Code:
public static function runBuildCacheHandler() { $list = \XLite\Module\CDev\ProductOptions\View\Product::getCSSFiles(); $key = array_search('modules/CDev/ProductOptions/product_details.css', $list); unset($list[$key]); return $list; }

I followed this code through and it appears to call the getCSSFiles() functions from CDev and CWW for a second time, removes product_details.css from the list as expected.

I don't think I'm doing this in the right place as product_details.css is still being called when the page loads.

Changing the Dev ID would be far easier

Could you give me a clue please xplorer?
__________________
Xcart 4.4.?
Xcart Next
Litecommerce with Drupal
http://www.corbywebworx.com

Custom Mods, Hosting and Support for Xcart-Next and LiteCommerce
Reply With Quote