Page 1 of 5 123 ... LastLast
Results 1 to 10 of 45
  1. #1
    Join Date
    May 2006
    Posts
    64
    Plugin Contributions
    3

    Default Change FORM Direction ?

    Guys, I am using 1.3.0.1 version, I am doing a "right to left" language store.

    I have changed the dir parameter in engilsh.php from dir="ltr" changed it to dir="rtl"

    This small change did most of the things I expected.

    BUT, my problem is with the forms!!, contact us, change password, create account, and all the other forms, the direction of them is still left to right, and the alignment is still to the left.


    For example

    In English: the alignment is to the left and direction of the form is left to right.

    Field name: [field box]

    In my language I want it to be aligned to the right and direction is right to left.

    [Field box]: الآسم بالعربي


    What I am getting right now for the forms is this:


    الأسم بالعربي: [field box]


    As you know all these forms appear in the middle or center column, I don't know if I need to change the center column layout or I have to change the forms each one by one (guessing!!!)


    Can any one tell me which file or files I have to edit , and what to edit to get his layout changed

    And thanks in advance.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Change FORM Direction ?

    Look to your stylesheet- the classes that control the forms are floates to the left, you should be able to change those to float right.

  3. #3
    Join Date
    May 2006
    Posts
    64
    Plugin Contributions
    3

    Default Re: Change FORM Direction ?

    Kim, thank you very much

    By changing the floating to right in the stylesheet; I have got my layout problem solved.

    cheers

  4. #4
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Change FORM Direction ?

    Quote Originally Posted by yabora View Post
    Guys, I am using 1.3.0.1 version, I am doing a "right to left" language store.

    I have changed the dir parameter in engilsh.php from dir="ltr" changed it to dir="rtl"

    This small change did most of the things I expected.

    BUT, my problem is with the forms!!, contact us, change password, create account, and all the other forms, the direction of them is still left to right, and the alignment is still to the left.


    For example

    In English: the alignment is to the left and direction of the form is left to right.

    Field name: [field box]

    In my language I want it to be aligned to the right and direction is right to left.

    [Field box]: الآسم بالعربي


    What I am getting right now for the forms is this:


    الأسم بالعربي: [field box]


    As you know all these forms appear in the middle or center column, I don't know if I need to change the center column layout or I have to change the forms each one by one (guessing!!!)


    Can any one tell me which file or files I have to edit , and what to edit to get his layout changed

    And thanks in advance.
    hi
    I did all what you mentioned. in firefox it works, but in IE the right to left does not do on the page, as a result as normally we expect that category sidebox in arabic language pages go to right with align right and float to right, in IE it does not happen.
    also a very big problem,when you switch to arabic language, all fonts are very big, so the general layout is disturbed, the sideboxes come on the text of midle colomn,
    please give me a hand, as I am tired about this inconvenience of arabic language?
    thanks

  5. #5
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Change FORM Direction ?

    Look in your stylesheets and change the floats from left to right?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #6
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Change FORM Direction ?

    Quote Originally Posted by Kim View Post
    Look in your stylesheets and change the floats from left to right?
    hi kim i did it, but the right sidebox and even left side boxes overlap the midle colomn, i changed mail wrapper from 750 to 950, it a liitle bit helps, but why the english one is very "propre= clean" but the arabic one very disoriented!!!!

  7. #7
    Join Date
    Aug 2006
    Posts
    166
    Plugin Contributions
    2

    Default Re: Change FORM Direction ?

    Quote Originally Posted by reza View Post
    hi kim i did it, but the right sidebox and even left side boxes overlap the midle colomn, i changed mail wrapper from 750 to 950, it a liitle bit helps, but why the english one is very "propre= clean" but the arabic one very disoriented!!!!

    this is a fig of the problem, as you see the middle colomn goes under the left sidebox

    also another question;
    how can I disable the uèsers to change my webpage font size, i remarked when the font size is changed by the user in his browser, all these arrangements and layout will be damaged and again disorder layout, I see some other websites with zen that they disable user to change font size b-in view o browser, how, I do not know? any help is welcome,
    Attached Images Attached Images  
    Last edited by reza; 10 Nov 2006 at 12:18 AM.

  8. #8
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Change FORM Direction ?

    Hi guys ,please I need your help as I read your desiccations here and there and you have already passed over most of the problems that I'm facing now, the thing that I didn't figure out yet is, where is that stylesheet that I need to modify and is it a general stylesheet "for all languages" or should I assign one stylesheet for each language as I have a Multilanguage's zen-cart ! I am countering a problem with the Arabic language, using rtl to change the direction of writing and the UTF-8 to have the Arabic fonts in a readable form, I'm using the Zen Cart V. 1.3.7, I just downloaded one language pack and started translating the menu and products to the Arabic language, what is strange here is I couldn't find any stylesheet in the language pack !! The thing is the Arabic fonts doesn't show the way that it should in both admin and in the user end pages .. Please check attachment ..
    Last edited by alhakeem2001; 14 Dec 2009 at 12:36 PM.

  9. #9
    Join Date
    May 2006
    Posts
    64
    Plugin Contributions
    3

    Idea or Suggestion Re: Change FORM Direction ?

    alhakeem2001, which language pack you have downloaded, there is no arabic language pack!!!

    anyways, charset you use in admin control panel should be the same as charset you use the store front. otherwise you might see un-expected things like what you saw, i can see the symble ] next the cat. name, i know you didn't write it,

    and it is very important that you set database charset to utf-8 before starting the installation, if you have not done this, I think you need to delete your db and re-do the instalation of db using utf-8 general as the default charset for your db.

    1 - set arabic.php charset to utf-8
    2 - set english.php charset to utf-8
    2 - admin\includes\languages\arabic.php charset must be utf-8 as well.
    2 - admin\includes\languages\english.php charset must be utf-8 as well.
    3 - your database charset should be utf-8

    ------------------------------
    Style sheet:
    ------------------------------

    language pack does not include any css files, only php files that contains words and sentances translation.

    but for arabic front store, off course you need a right to left template.

    modify css in classic green template to show the store from right to left.

    I am in the middle of preparing
    1 - Arabic Langauge Pack
    2 - Arabic Classic Green Template

    and I will post them soon, just wait 2 days

    my testing store:

    http://yabora.byethost13.com/zc/

    db charset is latin1
    language pack chartset is windows-1256

    the attached is my "under testing" Classic_Arabic template

    yabora
    Attached Files Attached Files

  10. #10
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Change FORM Direction ?

    Hey yabora, Thanks a lot for your reply, I just downloaded a language pack for Dutch language and started to translate it to Arabic but as you went so far with the Arabic language pack I would stop editing mine pack, So I will just wait a couple of days for the Arabic language pack to gets ready! I hope so ;-) . about the Zen cart , I didn’t install it my self , I got it installed automatically off course with my permission after my registration to a new hosting server “dreamhost” so I don’t know even how delete the db and re-do the installation again using utf-8 general as the default charest for db.
    Nonetheless, regarding the requirements that you mentioned in your reply I think I can do some of them :

    1 - set arabic.php charset to utf-8 Done
    2 - set english.php charset to utf-8 Done
    2 - admin\includes\languages\arabic.php charset must be utf-8 as well. Done
    2 - admin\includes\languages\english.php charset must be utf-8 as well. Done
    3 - your database charset should be utf-8 Done


    About the template I have a lot remarks about it ! but would the new Arabic Classic Green template be totally different from the original one ? because with the original template comes with a white color which covers a big space of the page, it’s a bit too bright ! Is there any changes in yours? Is your template editable ? Is it ok that I’m asking too much ? Finally, how would I know that the final Arabic language pack with it’s template has been released out ? is there a way to get notified by Email or SMS for example ? Thanks a lot
    Last edited by alhakeem2001; 30 Nov 2007 at 08:35 AM.

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. v151 Change direction of header drop down
    By barendfaber in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Nov 2013, 03:12 PM
  2. How Can I change the Direction of the Store?
    By shabizon in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Nov 2010, 12:32 PM
  3. Change Form Field
    By nelly7 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Mar 2009, 01:44 PM
  4. change login direction
    By rando84 in forum Basic Configuration
    Replies: 3
    Last Post: 7 Sep 2007, 11:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg