View Single Post
  #7  
Old 10-06-2017, 12:23 PM
  zeel's Avatar 
zeel zeel is offline
 

Member
  
Join Date: Oct 2017
Location: Ohio
Posts: 14
 

Default Re: Stripping away the default layouts and styles to make way for my own.

I was actually taking a look at those. But while I was able to remove items from the theme files list, they still managed to get loaded - I'm guessing another module, or a later part of the core, is also loading those files after me. The list from CommonFiles just appears to be empty though.

One thing I noticed though, is that the getCSSFiles() function has this in the comment above it:

Code:
The best practice is to merge LESS resources with 'bootstrap/css/bootstrap.less' file

Which the function then proceeds to do:

Code:
public function getCSSFiles() { return array( array( 'file' => 'css/style.less', 'media' => 'screen', // We use the bootstrap LESS instructions 'merge' => 'bootstrap/css/bootstrap.less', ), ); }

Now, I'm not really sure how merge is implemented, but I suspect that if other modules are doing this, they probably cause the system to load the content of the merge file even if it wasn't previously loaded. And since that file is Bootstrap... sigh.
__________________
Version: 5.3.3.3
Reply With Quote