Jump to content

way to change the client area and the admin side page direction - per language selected


ramf

Recommended Posts

Hi,

 

I'm newbie and I would really appreciate your help.

 

I'm looking for a way to change the client area and the admin side page direction wen selecting an RTL language and return It to LTR when selecting a LTR language.

 

I guess I should change something in header.tpl or footer.tpl (what about the admin side?) - but I don't know what.

 

I found this code (http://forum.whmcs.com/showthread.php?62442-A-reliable-way-to-load-code-if-a-RTL-language-is-selected)

 

{if $LANG.textdirection eq "rtl"}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/rtl.css" />{/if}

 

Is it the right code?

Should I change something in it?

Where should I put it (file, location, part of the file)?

Is it the same for the client area and the admin side?

Should I define something in the language file that signal it as RTL or LTR language?

 

I know this is something basic.. I really appreciate your help here.

 

Thanks!

Ram

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated