View Single Post
  #2  
Old 04-07-2014, 11:04 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: New to x-Cart; Crumbs, Footer, Titles

Quote:
Originally Posted by bdsmith62
Removed breadcrumbs by navigating to skins/default/en and deleting location.tpl

You should never edit core files because upgrading to the next version will discard your changes. Instead you should create a custom module that does the job.

Here is the docs on customizing X-Cart 5:
http://kb.x-cart.com/display/XDD/Developer+docs

Basically, you should create a module, then locate the widget classes that render the sections and "decorate" the method that makes the section visible.

For breadcrums the widget class is \XLite\View\Location and you should make its isVisible() method always return FALSE.

For the title you should decorate the isTitleVisible() method in \XLite\Controller\Customer\ACustomer class.

As for the footer - it depends on what you call so
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote