Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • podnot Friend
    #160618

    Which position Language Switcher should be for JA Cloris template 1.6? Thank you for your answer.

    podnot Friend
    #378178

    <em>@podnot 223433 wrote:</em><blockquote>Which position Language Switcher should be for JA Cloris template 1.6? Thank you for your answer.</blockquote>

    I have this solution:

    1.) edit file templates/ja_cloris/templateDetails.xml to creating new module position lang:

    <position>lang</position>

    2.) edit file templates/ja_cloris/blocks/onepage.php to loading module position:
    after this code:


    <div class="logo-text">
    <h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>

    insert following lines of code:


    <?php if($this->countModules('lang')) : ?>
    <div style="float:right; padding:5px;"><jdoc:include type="modules" name="lang" style="container" /></div>
    <?php endif; ?>

    3.) install new module Language Switcher and select position lang for this module

    That’s all. Now you should have published language switcher on your page. 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  podnot 13 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum