Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Categories on Home Page

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 01-31-2018, 10:02 PM
 
rowdybunny rowdybunny is offline
 

Advanced Member
  
Join Date: Aug 2014
Posts: 67
 

Default 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.
Attached Thumbnails
Click image for larger version

Name:	remove.jpg
Views:	240
Size:	44.3 KB
ID:	5083  
__________________
X-Cart 5.2 & 5.3.3.3
Reply With Quote
  #2  
Old 02-01-2018, 05:55 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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
Reply With Quote
  #3  
Old 02-08-2018, 10:32 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default 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
Reply With Quote
  #4  
Old 02-11-2018, 03:46 PM
 
rowdybunny rowdybunny is offline
 

Advanced Member
  
Join Date: Aug 2014
Posts: 67
 

Default 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
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:27 PM.

   

 
X-Cart forums © 2001-2020