How can i add the language switcher left or right from LOG In
Gavick Decor - Language switcher
- Edited
dhellinger Hi
You can kindly refer to this documentation for creating new module position - besides-login for assigning specific module. Also, You may require to add some CSS rule-sets in order to position the module properly
The code snippet for adding new position can be added in templates/gk_decor/layouts/default.php file above the below mentioned code :
<!-- #gkUser -->
like this
<?php if($this->API->modules('besides-login')) : ?>
<div id="gkUser">
<jdoc:include type="modules" name="besides-login" style="raw" />
</div>
<?php endif; ?>
Hope this helps
Hi,
i added the snippet to default.php and a new position "besides_login" to templateDetails.xml, puplished the language switcher on position beside_login, but see i nothing.
What`s the error?
dhellinger
Hi
If the code is added correctly it must show output, Kindly Edit fields in first post and submit a temp super user login details for staff
So we can check it on your site.
Regards
i have edit the fields, so you can take a look and i hope, you will find the error, i have made
dhellinger Hi,
You may check now as I have tried adding another demo - custom module and it is reflecting fine. Ref: Screenshot [Have disabled the specific module as It had been added for troubleshooting purposes]
Module wasnt reflecting for specific position as wrong module position had been entered. Kindly ensure to add it as besides-login instead of besides_login[no underscore]
You may require to ensure that Multilingual site has been configured properly as steps outlined here in order for language switcher module to reflect as envisaged
THANK YOU SO MUCH
I just didn't see the typing error ...