-
AuthorPosts
-
jjwijman Friend
jjwijman
- Join date:
- January 2006
- Posts:
- 55
- Downloads:
- 106
- Uploads:
- 1
- Thanks:
- 28
- Thanked:
- 1 times in 1 posts
February 1, 2010 at 10:24 am #148277I 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 Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
February 1, 2010 at 11:04 am #331186Do 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
Thanks1 user says Thank You to lamvt for this useful post
jjwijman Friendjjwijman
- Join date:
- January 2006
- Posts:
- 55
- Downloads:
- 106
- Uploads:
- 1
- Thanks:
- 28
- Thanked:
- 1 times in 1 posts
February 1, 2010 at 11:23 am #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 Friendjjwijman
- Join date:
- January 2006
- Posts:
- 55
- Downloads:
- 106
- Uploads:
- 1
- Thanks:
- 28
- Thanked:
- 1 times in 1 posts
February 1, 2010 at 4:01 pm #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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 6, 2010 at 10:13 am #331808Hello 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] -
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by Saguaros 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum