New Module Position for Multilanguage

  • hitman47
  • Topic Author
  • Visitor
  • Visitor
10 years 9 months 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

Please Log in to join the conversation.

More
10 years 9 months ago #37778 by ivan.milic
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

Please Log in to join the conversation.

Time to create page: 0.147 seconds
Powered by Kunena Forum