TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 223
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 206
  • Total: 206

how to change TP direction to be from right to left

Started by vivid, June 26, 2007, 06:08:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vivid

Hi,
I need to change the direction of the index.template.php
to be from right to left
bcz I am using Arabic Language.


also my Tp is instaledl very good
but in admin cpanel when I click on frontpage the page seem hang in ENTERNET EXPLORER but in FIREFOX it is working very good why?

IchBin

Not sure about how to fix the Right to Left issue, but I know there is another user here on TP that has done this that is using Arabic as well. Search for Arabic and I'm sure you can find it.

If one browser is working well and the other is not, its hard to say what could cause it. A link would be nice so we can test it ourselves.

Zetan


vivid

Quote from: IchBinâ„¢ on June 26, 2007, 09:20:27 PM
Not sure about how to fix the Right to Left issue, but I know there is another user here on TP that has done this that is using Arabic as well. Search for Arabic and I'm sure you can find it.

If one browser is working well and the other is not, its hard to say what could cause it. A link would be nice so we can test it ourselves.

thank you friend,

Mr. Croco solve the direction case

but still the my smf hang in admin cpanel when I click on the choice FRONTPAGE.

the navigator refuses to go up and down smoothly
it need time to move

vivid

Quote from: Zetan on June 26, 2007, 09:28:59 PM
The second part of vivids question was previously asked in this topic:
http://www.tinyportal.net/index.php?topic=16854.0

Sir,

I made all your advice before and upload my smf again. all succeeded but hanging problem remains.

IchBin

What is on your frontpage? Can you show us a link? Test account to access your site if guests aren't allowed?

vivid

Quote from: IchBinâ„¢ on June 27, 2007, 07:07:16 PM
What is on your frontpage? Can you show us a link? Test account to access your site if guests aren't allowed?


hi friend,

this is my site

www.albahala.com/smf

if you need admin password I should send to you in private msg.


IchBin

Can you create a temp admin account and set the language to english so I can take a look? Send in a PM if you'd like.

vivid

Quote from: IchBinâ„¢ on June 27, 2007, 08:22:09 PM
Can you create a temp admin account and set the language to english so I can take a look? Send in a PM if you'd like.

plz check you private msg

IchBin

Well at first I didn't have a problem. Firefox was working just fine. When I switched to Internet Explorer I seen what you're talking about. The page is reallllllllly slow on the frontpage in TinyPortal. I tried a few different things but had no success. I don't know why it would do that. Perhaps you can try it in different languages and see if the problem still appears. I can't read your language so it was really hard to navigate.

vivid

I change language to English, but same thing.

is it has any future consequences?

if I wait to update to v1.0 (after release). it may solve this prob.?


IchBin

Actually, I just went in and changed the admin acount you gave me to English and the frontpage settings in TPadmin worked great. It has something to do with your language. I'm not sure what. Take a look for yourself and see if it works for you now.

vivid

I should work with firefox . who knows, it may fix in the next version

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Mossa TheGreat

Vivid, would you please tell us how you changed TP or TinyPortal's directions? Please I need the solution myself!

Hadi

Quote from: Mossa TheGreat on July 02, 2007, 01:37:27 PM
Vivid, would you please tell us how you changed TP or TinyPortal's directions? Please I need the solution myself!

G6Cad

I think the solution is in the index.template.php file for the themes in use.
If you open the file and search for // Show right to left and the character set for ease of translating.

You see that you can change the direction there from $context['right_to_left'] to (i hope)
$context['left_to_right']

And the following "rtl" to "ltr"

You have to search in the file as there are several places you have to change it.
I havent tried this, so be sure to make a backup of the file before you start to change anything so if it is wrong, you can add the old one back again.

This website is proudly hosted on Crocweb Cloud Website Hosting.