View Single Post
  #2  
Old 08-27-2012, 05:28 AM
 
Cpt.Crashtastic Cpt.Crashtastic is offline
 

eXpert
  
Join Date: Jan 2006
Posts: 219
 

Default Re: Creating a skin module

In the same Main.php file we can extend the init() function to add a skin for mail

First define the new folder name as a constant

Code:
const <MAIL_SKIN_DIR = 'myMailSkin';

then add this line below the line that initializes the main skin dir.

Code:
\XLite\Core\Layout::getInstance()->addSkin(static::CUSTOMER_SKIN_DIR, \XLite::CUSTOMER_INTERFACE); //New Line \XLite\Core\Layout::getInstance()->addSkin(static::MAIL_SKIN_DIR, \XLite::MAIL_INTERFACE);

There are other skins you can alter!
__________________
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