| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Problem with displaying Localizer Module on a storefront | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Problem with displaying Localizer Module on a storefront
Hi guys,
Recently Localizer (Localizer.co) module stopped working when moved to 5.3.1. 1. The Module is not displayed o storefront: We have updated skins path (now skins/customer/modules/...) and changed from tpl to twig. The view class has a getDefaultTemplate method that returns proper path to twig. 2. The admin section is now showing only one field. Even though 2 fields are defined in install.yaml. Previously (prior to 5.3) two fields were displayed. Thanks you for your help.
__________________
X-Cart 5.3.1 Localizer |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Problem with displaying Localizer Module on a storefront
I'm not sure why it doesn't appear in the storefront, but the second point is likely due to a renamed field class:
- XLite\Model\WidgetParam\* classes are XLite\Model\WidgetParam\Object\Type* now - XLite\View\FormField\Input\Text\Float class is XLite\View\FormField\Input\Text\FloatInput now
__________________
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: Problem with displaying Localizer Module on a storefront
Thank you Alex,
Just checked and I'm not using any of these classes in the admin config part of the application. So it seems to be something else. Thanks.
__________________
X-Cart 5.3.1 Localizer |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Problem with displaying Localizer Module on a storefront
I'm not sure if I can help you without looking into the source code.
> 2. The admin section is now showing only one field. Is it the Edit Product page? If so, now it uses a different way to handle form fields. You should check \XLite\View\FormModel\* (defines form fields) and \XLite\Model\DTO\* (passes data between database models and the form) classes.
__________________
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: Problem with displaying Localizer Module on a storefront
Good day,
No, it's an admin page where users can configure some parameters of the module. Thank you.
__________________
X-Cart 5.3.1 Localizer |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Problem with displaying Localizer Module on a storefront
I believe the cause is still the same - your install.yaml declares a module setting that is using a class name missing in the new version.
You should update install.yaml and implement an upgrade hook that will change the class name for that field in the database for existing installations.
__________________
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
|