| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Changing the order of the 'blocks' in the left column | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Changing the order of the 'blocks' in the left column
How would I go about changing the order of the items in the left hand column?
I would like to have the latest posts (blog module) below the news. Maybe later, other changes.
__________________
Core version: 5.5.xx |
|||||||
#2
|
|||||||
|
|||||||
Re: Changing the order of the 'blocks' in the left column
I remembered about the weighting system so I can directly edit the files like this:
/** * Side-bar box for top news * * @ListChild (list="sidebar.single", weight="1000") * @ListChild (list="sidebar.first", weight="1000") and... /** * Recent posts widget (For menu, class heir) * * @ListChild (list="sidebar.single", zone="customer", weight="2000") * @ListChild (list="sidebar.first", zone="customer", weight="2000") but there is some way of 'deregistering' ListChild settings and reregistering them so changes aren't lost when a module is updated. I can't find this information.
__________________
Core version: 5.5.xx |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Changing the order of the 'blocks' in the left column
You have many options for this. Here is a fairly comprehensive list: http://xcartguru.com/knowledge-base/x-cart-5-kb/x-cart-5-moving-classes-and-templates-in-lists/
__________________
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. |
|||||||||
#4
|
|||||||
|
|||||||
Re: Changing the order of the 'blocks' in the left column
Thanks. I've added the below to the main.php file in my theme and it works nicely...
Code:
__________________
Core version: 5.5.xx |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|