| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
removing sidebar menus (5.3.1) | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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! |
|||||||
#2
|
|||||||||
|
|||||||||
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 |
|||||||||
#3
|
|||||||
|
|||||||
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 |
|||||||
#4
|
|||||||||
|
|||||||||
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 |
|||||||||
#5
|
|||||||
|
|||||||
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. |
|||||||
#6
|
|||||||||
|
|||||||||
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|