- Posts: 32
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- Position of language switcher
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Position of language switcher
- Luca
-
Topic Author
- Offline
- Junior Member
First, I want to congratulate you for the beautiful template.
I want to publish a multilanguage website with this template and I have enabled the language switcher.
In the setting of language switcher I tried all position available, but I don't find the right position to publish correctly the switcher in this template layout.
How do I display the flags of the languages?
Thank you
best regards
Luca
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Since index.php will is removed from the upgrade packages I can setup a new position for you on the menu or the sidebar.
For the header part, change this.
<?php if($this->countModules('nokkori_Menu')): ?>
<div id="menuToggler" class="column"><span><?php echo JText::_('NU_MENU'); ?></span><i class="icon-menu"></i></div>
<nav class="column small-2 large-9 mainNav">
<div id="closeBtn"><i class="icon-cancel"></i><span><?php echo JText::_('NU_CLOSE'); ?></span></div>
<jdoc:include type="modules" name="nokkori_Menu" style="nu" />
</nav>
<?php endif; ?>
<?php if($this->countModules('nokkori_Menu')): ?>
<div id="menuToggler" class="column"><span><?php echo JText::_('NU_MENU'); ?></span><i class="icon-menu"></i></div>
<nav class="column small-2 large-9 mainNav">
<div id="closeBtn"><i class="icon-cancel"></i><span><?php echo JText::_('NU_CLOSE'); ?></span></div>
<jdoc:include type="modules" name="nokkori_Menu" style="nu" />
</nav>
<?php endif; ?>
<?php if($this->countModules('nokkori_Language_Switcher')): ?>
<nav class="column small-1 large-1 right">
<jdoc:include type="modules" name="nokkori_Language_Switcher" style="nu" />
</nav>
<?php endif; ?>
Once you 've done this send me a live link so I can assist you with the styling (proper margins, paddings etc).
PS. For your ease you can also include <position>nokkori_Language_Switcher</position> in your templateDetails.xml file.
Paste it inside the <positions> element.
Let me know if you need a solution involving the sidebar as well.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
thank you for your response.
I have updated the index.php, templateDetails.xml and activated the multilanguage in Joomla.
You can see the language flag position here newsite.free-time-activities.com/index.php
The menu isn't in the right place after I have modified the templateDetails.xml.
I like to place the language switcher aligned in vertical with the menu and aligned in horizontal on the right side of the site.
Also, after enabling multilanguage site I have some trouble with the template layout/css:
1. I had to add the itemid of my italian homepage in the index.php page, but takes the transparent wrapper layout "hotel" (black color) and not "restaurant" (white and gray color). It seems that does not recognize the template restaurant...
2. the border of the latest news box is yellow, but when I enable the multilanguage turns gray
3. the back and forward arrows in the main slideshow respective title of the article and are not clickable (when multilanguage is enabled)
4. the menu link "chi siamo" and "vela lago maggiore" doesn't work prroperly and I receive the error 404 (but it seems that they are configured correctly)
Thank you,
best regards
Luca
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
You need to change the order between the menu and the language switcher block given in the above code posted by @Krikor. Just take the language switcher block and move it right above the menu block.
This will solve the correct positioning issue.
To align it properly just add this css rule in custom.css file
.mod-languages {padding:18px;}
I didn't see any issues with the assignment of the correct template. In all pages I visited I got the restaurant variation.
Could you verify this?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
thank you for response.
I have modified the order and added the .mod-languages in the custom.css, but the menu is not positioned correctly.
The menu remains too close to the logo and in some cases above it.
There is no way to improve?
about the restaurant layout, see the attached picture...
when enabling the multilanguage site I see difference in the bottom block.
thank you
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
there remains the following problem:
_ the position of the menu
_ the arrows (back and forward) and title in the Slideshow aren't clickable when multilanguage is enable
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
<nav class="column small-1 large-1 right">
Then and add to custom.css .langSelect {width:6.333%;}
Make sure that you have enabled to load the custom.css file through the template parameters.
What you should try to do in order for your italic language to work properly is to have two copies of the template. The one should be for the english version and the other for the italic version. Then assign to each one the appropriate pages and try again.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
there are still these problems that you can see in the attached image (and test it on the site newsite.free-time-activities.com/)
Thank you
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
Have you somes news about the problem of the slideshow links ?
Regards
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
The arrows of slideshow do not work even though disabling these two settings.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
Please recheck that each frontpage menu item of each language os assigned to the correct slideshow and that each slideshow is assigned to the correct language.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
At this point, I gave up and I have reinstalled in another hosting the demo package.
With surprise I realize that the problem with the slideshow (in the template "restaurant") already exists in your original demo package !
This is a fresh installation of your demo package of Nokkori, with the same problem...
website.free-time-activities.com/restaurant
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
Have you updated your template package with the latest version 1.0.2?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
I did other tests:
_ with Chrome v. 31.0.1650.57 (last version) doesn't work
_ with Safari v. 7.0 (9537.71) doesn't work
_ with Internet Explorer v. 9.0.8112.16421 works !
With which browser did you open the website ? Only with Internet Explorer ?
Because it is important that this template also works with Safari and Chrome !
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
Make sure that the isFrontpage class is added to the body when browsing the homepage.
For the website.free-time-activities.com/restaurant I have checked it in
Chrome 31.0.1650.57 and Firefox 25.0 and it works.
Try the above addition to this one as well and let me know to check again.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
Tried on:
_ pc Windows 7 with Firefox 25.0.1 and Chrome 31.0.1650.57 doesn't work, with Internet Explorer 9.0.8112.16421 works
_ pc Windows 7 with Firefox 25.0.1 and Chrome 31.0.1650.57 doesn't work, with Internet Explorer 10.0.9200.16736 works
_ Mac OS X with Safari v. 7.0 (9537.71) and Chrome 31.0.1650.57 doesn't work
I don't understand why on 3 different pc I have the similar problem and only with Internet Explorer works.
Using the developer console firefox and chrome I note some errors (see file attached).
On Internet Explorer no error found.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Luca
-
Topic Author
- Offline
- Junior Member
- Posts: 32
Slideshow arrow works, title and readmore don't work.
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- Position of language switcher