| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Add sidebar to product pages | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Re: Add sidebar to product pages
Quote:
No core files, not skins, not CSS, not php code should ever be changed. The database should never be directly altered either. All of your changes should be accomplished by the addition of your own custom module. XC5 has a brilliant system for overwriting code and skins with modules. That is what makes it truly special.
__________________
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. |
|||||||||
#12
|
|||||||
|
|||||||
Re: Add sidebar to product pages
Understood... So basically any changes that are made need to be done by making a module or changing the custom css file... Is that right?
|
|||||||
#13
|
|||||||||
|
|||||||||
Re: Add sidebar to product pages
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. |
|||||||||
#14
|
|||||||
|
|||||||
Re: Add sidebar to product pages
Hello,
First, thanks for all the tips and advice. I've followed these steps to remove the sidebar from the homepage while leaving it on my catalogue pages. I have a further query: I have created some static pages and I would like to block the sidebar from displaying on them. I should just be able to add those pages to the list of other blocked pages but I don't know what to call them. The url is https://mydomain.com/design.html Adding 'design' to the blocked pages doesn't work. How do I know what to call the page in order to hide the sidebar? Or is there another way to achieve the same result? Thanks for your help!! Cheers, Rainer.
__________________
xcart 5.2.4 |
|||||||
#15
|
|||||||
|
|||||||
Re: Add sidebar to product pages
Hello,
(apologies if I'm duplicating a post. I posted earlier but it seems to have disappeared. I'm a new x-carter so I generally don't know what I'm doing ). Thanks for your advice! I have followed these steps to remove the sidebar from my homepage. I would like to hide the sidebar from static pages added via the Simple CMS module but I don't know what name to add to the "getSidebarFirstHiddenTargets()" list. Is there any way to do this? Thanks for your help!! Cheers, Rainer.
__________________
xcart 5.2.4 |
|||||||
#16
|
|||||||||
|
|||||||||
Re: Add sidebar to product pages
Try:
$hiddenTargets[] = 'page';
__________________
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. |
|||||||||
|
#17
|
|||||||
|
|||||||
Re: Add sidebar to product pages
Thanks Mike! Your a champion! 'page' did the trick
__________________
xcart 5.2.4 |
|||||||
|
#18
|
|||||||||
|
|||||||||
Re: Add sidebar to product pages
how do you do this in 5.2?
tries extending XLite/Core/layout.php Broke the whole thing now stuck in redeploy, and why do I need to redeploy again????
__________________
xcart 5.1.2 |
|||||||||
#19
|
|||||||
|
|||||||
Re: Add sidebar to product pages
Quote:
You need to do this PHP Code:
Obviously YourDeveloperID\YourModuleID are replaced with your developer id and module id. Let me know if this helps. I did notice that you typed Layout.php as layout.php. make sure your file is capitalized correctly.
__________________
Ver 5.2.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|