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

removing sidebar menus (5.3.1)

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 10-22-2016, 06:29 PM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default removing sidebar menus (5.3.1)

I am currently using a side bar (right if that makes any difference) and I am trying to get rid of the menu that is inserted in the sidebar as we have other items and specials that go in that sidebar.

Every time I've commented out, removed or modified various .twig files and I always get errors that remove the side bar or create issues for the cart at the top of the page.

Is there a way I can remove it as I've been able to remove all other items that we did not want from that side. (Image attached)

Also I've tried layout editor as well and that has the same results in getting rid of the sidebar all together.

Thanks!
Attached Thumbnails
Click image for larger version

Name:	menu.jpg
Views:	196
Size:	215.1 KB
ID:	4719  
Reply With Quote
  #2  
Old 10-27-2016, 01:18 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: removing sidebar menus (5.3.1)

Do you mean the Categories menu? I've tried a local 5.3.1.x installation and it allows me to hide that block via the Layout Editor mode. What error do you see when use it? Do you see any error messages in log files in the var/log/ directory?
__________________
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
  #3  
Old 10-27-2016, 01:58 PM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default Re: removing sidebar menus (5.3.1)

I've can remove the block entirely - but it takes out everything that we have pictured above it on the right side. I'm just looking to remove the category part, not the entire side bar.

Also, if I comment or delete it out, it removes functionality from the shopping cart in the top right corner - so I was just seeing if there was another solution that we could use
Reply With Quote
  #4  
Old 10-31-2016, 04:37 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: removing sidebar menus (5.3.1)

For me it hides the Categories menu only and keeps other sidebar blocks on their places.

How did you add the other blocks to the sidebar?
__________________
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
  #5  
Old 11-11-2016, 12:04 PM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default Re: removing sidebar menus (5.3.1)

I just edited the center.right.twig and added in HTML to put above it so it moves the categories section to a lower part of the page since it wouldn't be able to be removed.

I had too many bug issues with 5.3 so I have downgraded to 5.2.19 otherwise currently.
Reply With Quote
  #6  
Old 11-14-2016, 09:15 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: removing sidebar menus (5.3.1)

I believe you mean the skins/customer/layout/content/main.center.right.twig template (there is no center.right.twig file).
What was the change? Did you put your code inside the "this.layout.isSidebarSecondVisible()" condition? If so, it may be that when you disable the categories block no blocks left in the sidebar, so XC5 hides the whole sidebar (including your custom code) due to that check.

Also, how did you change the file? Did you replace it via a custom theme?
__________________
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
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



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 01:28 PM.

   

 
X-Cart forums © 2001-2020