test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • jonasso Friend
    #174767

    Greetings,

    mod_jalogin files were not in UTF-8, so I had to change in order to make it work with the Portuguese language.

    Files changed:
    /templates/ja_social/blocks/topbar.php
    /templates/ja_social/html/mod_jalogin/default.php
    /language/pt-BR/pt-BR.mod_jalogin.ini

    I’m not sure if this is related to encoding, but I noticed a strange character between <ul> and <li> which is messing up the layout after I changed the file encoding to UTF-8; See image below:

    PS1: The module also did not have the class=”validate-email […]” in the email fields, which I had to add and it would be nice it was added to the source file, so new users will not have to do that.
    PS2: Some strings were also missing in the JText::_() in default.php

    Thanks for you help,


    1. JA_SOCIAL-mod_jalogin-utf8
    khoand Friend
    #442740

    I’m not sure if this is related to encoding, but I noticed a strange character between <ul> and <li> which is messing up the layout after I changed the file encoding to UTF-8

    I don’t know why having a character between <ul> and <li>. To fix messing layout, you add the code into /templates/your_template/css/template.css

    #ja-headtools ul{
    width: 210px;}

    jonasso Friend
    #442785

    Dear khoand,

    Thanks for your reply. I have tries your fix with Firebug before I changed the CSS file and it did not fix this. If I remove the code between <ul> and <li> using Firebug it fixes itself;

    I have provided FTP and administrator access to my site when I wrote the first post. Can you please take a look?

    Best regards,

    khoand Friend
    #442869

    I copied my default.php file to /templates/ja_social/html/mod_jalogin, and it’s solved.

    jonasso Friend
    #444533

    Dear khoand,

    Ok, but Won’t it happen again when I change it’s encoding to UTF-8?

    Regards,

    khoand Friend
    #444556

    To guaranty encoding works normally, you just edit file and save, don’t change encoding.

    jonasso Friend
    #444560

    The problem is that it is NOT in UTF-8, therefore I cannot translate it into Portuguese.
    Also there are some strings that are NOT using the JText::_(), so I cannot translate in the Language file only. That should be fixed.

    Regards,

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

This topic contains 7 replies, has 2 voices, and was last updated by  jonasso 12 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum