test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • morsagmon Friend
    #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 Moderator
    #468658

    Yeah, 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>

    morsagmon Friend
    #468757

    Thank 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!
    Mor

    Ninja Lead Moderator
    #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.

    morsagmon Friend
    #468898

    Ninja,

    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!
    Mor

    Ninja Lead Moderator
    #468917

    You 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.

    morsagmon Friend
    #469045

    Thanks 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 Moderator
    #469061

    Let me know if you detect the issue. Thanks.

    I am willing to help you of any!

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

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