| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
4 product column on main page. how? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
4 product column on main page. how?
I disable TopCategories (in CustomSkin\View, function isVisible() return false) and get a blank column on the left.
Рlease tell me, how do I remove from anywhere conclusion of this empty space, and the products on the main page to display in four columns, the entire width of the template? Thank you very much in advance. |
|||||||||
#3
|
|||||||
|
|||||||
Re: 4 product column on main page. how?
The only way I got this to work was by setting the max number of columns from 3 to 4.
I did this by adding a class in my custom module like this: Code:
However this will affect all pages (which is what I wanted), not just the home page. Jan
__________________
Jan Beesley (Currently Xcart 5 Previously XCart Gold from 3.5....) |
|||||||
#4
|
|||||||||
|
|||||||||
Re: 4 product column on main page. how?
The best way to ditch the side column in X-cart 5 is to create a controller class that decorates XLite\View\Controller and redefines the getSidebarFirstHiddenTargets() method.
Here is an example from my new Magnifico theme: Code:
This will remove the sidebar from the target "main" (home page) only.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#5
|
|||||||||
|
|||||||||
Re: 4 product column on main page. how?
Thanks (((
I removed X-Cart. It's too complicated for me. What other products made by simply changing the settings, in the X-Cart programming required on a whim, since there is no documentation. To be honest, it's easier to write from scratch online store, than to understand the X-Cart. |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: 4 product column on main page. how?
You should take a look at XC4 - a lot more easier to work with and tons of modules and help on the forums - https://www.x-cart.com/pricing.html
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: 4 product column on main page. how?
Quote:
|
|||||||||
#8
|
|||||||
|
|||||||
Re: 4 product column on main page. how?
I'd like it to just affect the Category List, any suggestions?
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#9
|
|||||||||
|
|||||||||
Re: 4 product column on main page. how?
Quote:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|