| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Categories on Home Page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Categories on Home Page
OK I am stumped. I want to remove the category icons on the home page. I am viewing my home page and using the webmaster mode. I've tried both the template editor and the layout editor. When I comment out the categories in the twig file it does remove the categories from the whole page BUT it also removes them from the category pages. Same with the layout editor, when I hide that block it hides it on all pages.
I've attached a screen shot showing the block I want to move. Any help is appreciated.
__________________
X-Cart 5.2 & 5.3.3.3 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Categories on Home Page
You probably have a module that shows these there. You need to modify this module. XC5 is not like XC4 where you can just do some changes with webmaster mode. While still possible to use it for some modifications the modular structure of XC5 actually goes against that.
You need to dig into the code and modify it with your own module most likely. It may be better to get a pro do it for you
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Categories on Home Page
When editing the template, you can make it appear on category pages only by wrapping the code into the "if" statement.
Please check this forum thread: https://forum.x-cart.com/showthread.php?p=405151#postcount405151 The "target" for the home page is "main".
__________________
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 |
|||||||||
#4
|
|||||||
|
|||||||
Re: Categories on Home Page
For anyone who wants to remove the category icons from the home page, x-cart support has provided a MUCH easier method.
Go to the "Content" / "Front page" page from the menu in the admin area and then set "Root category listings format" to "Hide".
__________________
X-Cart 5.2 & 5.3.3.3 |
|||||||
|
|||
X-Cart forums © 2001-2020
|