-
AuthorPosts
-
March 24, 2009 at 3:22 pm #139528
Hi guys,
i’m useing JoomFish for MultiLanguage and have tow Language
Arabic
EnglishArabic must be R to L.. so how i can make Full R to L in arabic with out Change in English
also try to login as normal user.. i think have a problem
Regards,
AhmedAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 26, 2009 at 9:11 am #298153Hi alssafeer,
Current this template does not support your idea.
Alternatively, please take into consideration to post your requirements on Joomlancers.com to find a talent freelancer for your project.
I am sorry for not being of much help in this case.March 26, 2009 at 9:34 am #298161thank you for reply..
i think a Design have a problem…
I found this solution in Joomla Forom
Use this. Copy your CSS style and rename it like this mystylecss_rtl.css and then open your file and change the text align of all your selectors from for example text-align:left to text-align:right.
Now you have two CSS files: mystylecss.css and mystylecss_rtl.css now put this on your index.php file in the head section.
Code:
if ($this->direction == 'rtl'){
echo'<link rel="stylesheet" href="' . $this->baseurl . '/templates/' . $this->template . '/css/mystylecss_rtl.css" type="text/css" />';
}else{
echo'<link rel="stylesheet" href="' . $this->baseurl . '/templates/' . $this->template . '/css/mystylecss.css" type="text/css" />';
}but in your template can’t control direction by template.css…
Please help me how i can doit… both Languages is important to me
Ahmed
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 26, 2009 at 9:48 am #298170Hi,
You can change the direction by my code:
[PHP]
$conf =& JFactory::getConfig();
$default_lang = $conf->getValue(‘config.defaultlang’);if ($default_lang != ‘en-GB’){
echo'<link rel=”stylesheet” href=”‘ . $this->baseurl . ‘/templates/’ . $this->template . ‘/css/mystylecss_rtl.css” type=”text/css” />’;
}else{
echo'<link rel=”stylesheet” href=”‘ . $this->baseurl . ‘/templates/’ . $this->template . ‘/css/mystylecss.css” type=”text/css” />’;
}
[/PHP]March 26, 2009 at 10:20 am #298178hi
just past on index.php or what?
you have my password can you doit for me please ant test by you
Thank You
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 26, 2009 at 10:26 am #298179Hi alssafeer,
You must change in index.php file.
Please find following code:
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
and change to:
<?php
$conf =& JFactory::getConfig();
$default_lang = $conf->getValue('config.defaultlang');if ($default_lang != 'en-GB'){
echo '<link rel="stylesheet" href="' . $tmpTools->templateurl() . '/css/template_rtl.css" type="text/css" />';
}else{
echo '<link rel="stylesheet" href="' . $tmpTools->templateurl() . '/css/template.css" type="text/css" />';
}?>
1 user says Thank You to JA Developer for this useful post
March 26, 2009 at 10:33 am #298182you mean /templates/ja_zeolite/index.php
March 26, 2009 at 10:44 am #298183i doit…
but i think arabic and english use template_rtl.css now!
when i remove or rename template.css no thing change
but whne i remove or rename template_rtl.css style not work for all langAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 27, 2009 at 6:56 am #298377Hi alssafeer,
I think you did not change correct. If possible, please send me your ftp account via PM, i will help you to fix this issue.
March 27, 2009 at 2:50 pm #298491PM sent!
thanks
March 29, 2009 at 9:37 am #298830hello..
I think u r forget me 🙂
-
AuthorPosts
This topic contains 12 replies, has 2 voices, and was last updated by Anonymous 15 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum