| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
New to x-Cart; Crumbs, Footer, Titles | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
New to x-Cart; Crumbs, Footer, Titles
Hello,
I'm new to xCart. I've been searching for about 2 hours now and can't seem to figure out how I can remove the breadcrumbs, Footer and page category titles (after clicking on category, in the page that displays sub categories) from all pages. I'm building my record label a new site in dreamweaver (after using Joomla for years) and I'm using x-cart for our store. to keep everything smoothly integrated on site I'm using iframes to display x-cart. Everythings fine except the 3 things mentioned above need removed. Thanks guys. P.S. yes I did search, all were using older versions. I also am not sure where the template files are located in my FTP. I had assumed skin but don't see digital (the one I'm using) or others. So I'm lost as someone said to remove breadcrumbs.tpl in some home file in the template's folder but I can't find out how to navigate to the DIGITAL template folder. Update: Removed breadcrumbs by navigating to skins/default/en and deleting location.tpl
__________________
5.0.12 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: New to x-Cart; Crumbs, Footer, Titles
Quote:
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 |
|||||||||
#3
|
|||||||
|
|||||||
Re: New to x-Cart; Crumbs, Footer, Titles
Thanks Qualiteam. Sounds a little confusing but I'll give it a shot and see what I come up with. Luckily I saved the Location.tpl so I'll just place it back in.
The footer I speak of if the copyright info. www.blackandyellowrecords.com/artist_market
__________________
5.0.12 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: New to x-Cart; Crumbs, Footer, Titles
Would you like to wipe the footer completely? If so, you should create a skin module and add "[path-to-your-skin]/customer/en/layout/main.footer.tpl" file with the following contents:
Code:
This empty file should replace the existing one (and make the footer empty). You can use a single module to do both the jobs (adding the skin and hiding other widgets).
__________________
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 |
|||||||||
|
#5
|
|||||||||
|
|||||||||
Re: New to x-Cart; Crumbs, Footer, Titles
Another method to remove elements would be via css using {display:none} in the css editor.
__________________
Richard Ultimate 5.4 testing |
|||||||||
|
#6
|
|||||||||
|
|||||||||
Re: New to x-Cart; Crumbs, Footer, Titles
Quote:
Yep. But this doesn't remove the section from the html code, so you may use this as a temporary tweak, but creating a custom module removing the html code of the section itself will be a better solution.
__________________
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|