- Thank you received: 0
New Module Position for Multilanguage
-
hitman47
-
Topic Author
- New Member
-
Less
More
11 years 2 weeks ago #37768
by hitman47
New Module Position for Multilanguage was created by hitman47
HALLO,
I have bought hotel template. However it's only in english and i want to have multilanguage support. I am using joomla LANGUAGE SWITCHER MODULE.
Furthermore, the existing module positions are not appropriate for the lang switcher. They are not very usefull. I want to create another on the top of the template just right of the logo. TOP RIGHT.
Please could you tell me what adjustments should i do to the code? In the index.php / xml/ css files?
Thank you
I have bought hotel template. However it's only in english and i want to have multilanguage support. I am using joomla LANGUAGE SWITCHER MODULE.
Furthermore, the existing module positions are not appropriate for the lang switcher. They are not very usefull. I want to create another on the top of the template just right of the logo. TOP RIGHT.
Please could you tell me what adjustments should i do to the code? In the index.php / xml/ css files?
Thank you
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 2 weeks ago #37778
by ivan.milic
Replied by ivan.milic on topic New Module Position for Multilanguage
You need firs to define your position in templateDetails.xml , inside <positions> element place one more <position>position-name</position> element .
next you need to edit index.php to call rendering of modules for that position in some place.
You use this code:
<jdoc:include type="modules" name="position-name" style="xhtml" />
to place it.
For third thing I can not point you very much. You need to style it to place it as you want. You will probably wrap that position calling code with some div having some class. Place your styles in layout.css
next you need to edit index.php to call rendering of modules for that position in some place.
You use this code:
<jdoc:include type="modules" name="position-name" style="xhtml" />
to place it.
For third thing I can not point you very much. You need to style it to place it as you want. You will probably wrap that position calling code with some div having some class. Place your styles in layout.css
Please Log in to join the conversation.
Time to create page: 0.151 seconds