-
AuthorPosts
-
September 30, 2012 at 11:41 pm #181097
Hello all.
I upgraded my JaPurity ii and JAT3 engine to 2.5 on Joomla 2.5.
I applied my own theme package, layouts and profiles.
All customizations applied, except that the web site is LTR, instead of RTL. I understand in this version it should be RTL automatically by way of language selected, but this I believe is selected properly to Hebrew (or am I not looking at the right place? where should this be set?)?I had the exact same upgrade process done off-site on a dev environment and I did not experience this.
Any ideas?
Thanks!Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 1, 2012 at 4:36 am #468658Yeah, about LTR or RTL, it depends on language which is applying on your site. But you can set as default and it is always RTL by:
<blockquote>language/language_yoursite(he-GB)/he-GB.xml</blockquote>
change
<rtl>0</rtl>
to
<rtl>1</rtl>
October 1, 2012 at 2:13 pm #468757Thank you Ninja.
I have two languages installed:
en-GB (<rtl>0</rtl>)
he-IL (<rtl>1</rtl>)he-IL is defined as default. Why isn’t RTL applied?
(in the meantime, I added body{direction:rtl; } to both template.css and mega.css).Thanks!
MorNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 2, 2012 at 3:47 am #468823<em>@morsagmon 340565 wrote:</em><blockquote>
en-GB (<rtl>0</rtl>)
he-IL (<rtl>1</rtl>)
</blockquote>
That’s right, no need to change anything
<em>@morsagmon 340565 wrote:</em><blockquote>
he-IL is defined as default. Why isn’t RTL applied?
</blockquote>For this case, you need to check direction and css style of your site to detect that RTL is applied or not.
October 2, 2012 at 6:42 pm #468898Ninja,
Where shall I check direction and css?
As said, I manually added direction to css, but I thought the template will automatically make sure RTL is applied, given default language is RTL (as per documentation). Any other specifics I need to check?
Thanks!
MorNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 3, 2012 at 3:42 am #468917You can add this script
<?echo "RTL".$this->isRTL();?>
into<blockquote>templates/ja_purity_ii/blocks/head.php</blockquote>
and if it show “RTL1” your site is running with direction “RTL” or else
Check css RTL file on exist on your template
<blockquote>templates/ja_purity_ii/css/template-rtl.css</blockquote>
With direction RTL is load all css support RTL.
October 3, 2012 at 7:30 pm #469045Thanks Ninja.
The script above always returns RTL1.
However, the site content is still all behaving like LTR (unless I apply my workaround…).
Strange…Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 4, 2012 at 2:28 am #469061Let me know if you detect the issue. Thanks.
I am willing to help you of any!
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Ninja Lead 12 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum