Could someone provide some tips and tricks or any good tutorial for updating existing theme that is working properly on OXID 4.10 to OXID 6?
Thank you!
Could someone provide some tips and tricks or any good tutorial for updating existing theme that is working properly on OXID 4.10 to OXID 6?
Thank you!
you can compare flow from v4.10 with flow for v6
There are just couple of changes, so you can simply upload your teheme, activate it and fix errors appearing in logs.
Okay, thank you a lot for the suggestion.
I am trying to upgrade my own theme from OXID 4.10 to OXID 6.0 but I am getting this error:
[exception] [type OxidEsales\Eshop\Core\Exception\SystemComponentException] [code 0] [file /var/www/html/oxid6/oxideshop_ce/source/Core/Base.php] [line 74] [message Function âgetShowFbConnectâ does not exist or is not accessible! (OxidEsales\Eshop\Core\ViewConfig)
This is the code in footer.tpl file:
[{if $oViewConf->getShowFbConnect()}]
<div class="altLoginBox corners clear">
<span>[{ oxmultilang ident="LOGIN_WITH" suffix="COLON" }]</span>
<div id="loginboxFbConnect">
[{include file="widget/facebook/enable.tpl" source="widget/facebook/connect.tpl" ident="#loginboxFbConnect" }]
</div>
</div>
[{/if}]
I declared this in theme.php file:
array(
âgroupâ => âdisplayâ,
ânameâ => âgetShowFbConnectâ,
âtypeâ => âarrâ,
âvalueâ => â '
),
Maybe the error is because of âvalueâ, but I donât know what to put there.
Thank you!
Function !== theme setting
Facebook functions were removed from OXID core in 6.0
So, I have to remove part where Facebook function is defined/called?
Yes, OXID announced to provide a module for Facebook integration, but I have not seen it yet
The functionality was taken off the core and packaged as a module which can be found here: https://github.com/OXIDprojects/facebook-social-plugins-module
@marco.steinhaeuser
With help of this module, I donât need to remove parts where Facebook functions are defined/called?
you definitely should remove this functions from template, because your shop will not work without this module.
And sometimes OXID disables modules by itself,
Its like wearing seat belts in a car. You can drive without them, but when something goes wrong, you wish you had them.
I hope that this will help to someone:
I recovered deleted function from template, and without installed Facebook module the template was not working.
But when I installed the module, the theme started to working perfectly, without any change inside.
Thank you.