Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jjwijman Friend
    #148277

    I am filling http://artstoneplanter.nl/ with content.

    Under the language selection module you see a custom module (called teaser-en) which shows an image in english. As you may understand I want a module teaser-nl activated when dutch is the current language.

    Now I have used Joom!Fish Version V2.0.4 (Lightning) and serching for ‘joomfish modules language’ has learned me to use
    <?php
    if ($this->language=="nl-NL") {
    ?>
    <jdoc:include type="modules" name="dutchmoduleposition" />
    <?php } ?>

    OK, sounds reasonable.

    But where in the JA_Seleni template do I insert these code for different languages

    lamvt Friend
    #331186

    Do you want to changes Module positions with your Languge page??
    Open your layout/blocks/ right.php you can see, you edit.: Line 4:
    add your code
    and Open templateDetails.xml add your module name
    Thanks

    jjwijman Friend
    #331192

    <em>@lamvt 163003 wrote:</em><blockquote>Do you want to changes Module positions with your Languge page??
    Open your layout/blocks/ right.php you can see, you edit.: Line 4:
    add your code
    and Open templateDetails.xml add your module name
    Thanks</blockquote>
    Is that all?
    Sounds easy.

    After my lunch I will try it and inform you here if this was successful.

    jjwijman Friend
    #331220

    <em>@jjwijman 163010 wrote:</em><blockquote>Is that all?
    Sounds easy.

    After my lunch I will try it and inform you here if this was successful.</blockquote>
    :(( didn’t work.

    Saguaros Moderator
    #331808

    Hello guy

    This is a mistake
    [PHP]<?php
    if ($this->language==”nl-NL”) {
    ?>
    <jdoc:include type=”modules” name=”dutchmoduleposition” />
    <?php } ?>[/PHP]

    Fix:
    [PHP]
    <?php
    if ($this->language==”nl-nl”) {
    ?>
    <jdoc:include type=”modules” name=”dutchmoduleposition” />
    <?php } ?>
    [/PHP]

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

This topic contains 5 replies, has 3 voices, and was last updated by  Saguaros 14 years, 9 months ago.

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