| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Module creation | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Module creation
Hi everybody.
I am new with X-cart five and I try to make some changes to my shop. I tried to add a module with cards logo in the footer of my store. I did it but I have two questions: 1. I create a module for that but even if it is off the logos appear at the footer of my store. Is that correct; 2. I have created a style.css file with some code in it (as instructions here https://devs.x-cart.com/design_changes/working_with_footer.html) but nothing change to the view. Can any body help me? Regards
__________________
4 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Module creation
If you followed that example code the twig file will always run even if the module is off. The reason is the @ListChild instructions in the file.
If the module is just to show these logos in footer move the @ListChild to the class file that calls the template. This will sort the issue of logos showing with module off.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
Re: Module creation
Thanks for answer.
What about question number 2?
__________________
4 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Module creation
Look at the source code of the page and make sure the css files is loaded. If not then you are not calling it in the php file or the file name/location is different. If file is loaded check if other styles override yours.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|