TinyPortal

Development => Support => Topic started by: dallouleh_s on November 17, 2007, 10:07:10 AM

Title: how can i change the direction?
Post by: dallouleh_s on November 17, 2007, 10:07:10 AM
Hi
i am using smf/tp arabic language
but i still have a problem is that when i enter the tinyportal admin it goes ltr and i need it rtl
ex: http://lakuma2.com/vb/index.php?action=tpmod;dl=0
Title: Re: how can i change the direction?
Post by: Nokonium on November 17, 2007, 12:08:15 PM
The reason is that the download button is a graphic in the images folder called TPdownloadfile.gif

I have attached a blanked version so that you can add your own text.
Title: Re: how can i change the direction?
Post by: dallouleh_s on November 17, 2007, 01:19:54 PM
thank you,
but i didn't mean the download image i don't care which language it is i nead to make all the page right to left
also the file attached can't be saved
Title: Re: how can i change the direction?
Post by: Xarcell on November 17, 2007, 02:40:34 PM
I have no idea why it does that. we'll have to look into it. So it's "not" supposed to be ltr?
Title: Re: how can i change the direction?
Post by: Nokonium on November 17, 2007, 02:48:55 PM
Ah! The reason I thought it was the button is because that was the only thing that I could see that was ltr, all the rest of the page was rtl. Looking further into it I've found that it happens with IE7 but not FF2 or Opera9.
Title: Re: how can i change the direction?
Post by: dallouleh_s on November 17, 2007, 03:00:57 PM
so.. any idea on how to fix it?
i thing that one of the tp files has left in the code but i don't know which one and where
Title: Re: how can i change the direction?
Post by: Nokonium on November 17, 2007, 03:10:30 PM
Like Xarcell, I haven't any idea either, but I'll ask Bloc to have a look at this thread.
Title: Re: how can i change the direction?
Post by: Xarcell on November 17, 2007, 04:41:35 PM
I'm using FF, and I see it left to right, text-aligned to the right.

In IE7, it's right to left, but text-aligned to the right.

I tried looking at it in default theme too, still the same issues. So it's NOT theme related.
Title: Re: how can i change the direction?
Post by: bloc on November 17, 2007, 05:46:22 PM
Its because IE generally chooses rtl for you, while FF let you choose yourself. :P Not theme related, not even TP related, but more on support for ltr in browsers.
Title: Re: how can i change the direction?
Post by: Nokonium on November 17, 2007, 07:06:58 PM
Thanks Bloc  :up:
Title: Re: how can i change the direction?
Post by: dallouleh_s on November 17, 2007, 07:51:00 PM
well... it seems right!! i tried firefox and the direction was rtl
thank you all