-
AuthorPosts
-
jonasso Friend
jonasso
- Join date:
- September 2006
- Posts:
- 82
- Downloads:
- 25
- Uploads:
- 14
- Thanks:
- 6
- Thanked:
- 5 times in 2 posts
March 8, 2012 at 5:33 pm #174767Greetings,
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.iniI’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.phpThanks for you help,
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 9, 2012 at 3:57 am #442740I’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 Friendjonasso
- Join date:
- September 2006
- Posts:
- 82
- Downloads:
- 25
- Uploads:
- 14
- Thanks:
- 6
- Thanked:
- 5 times in 2 posts
March 9, 2012 at 11:53 am #442785Dear 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 10, 2012 at 11:02 am #442869I copied my default.php file to /templates/ja_social/html/mod_jalogin, and it’s solved.
jonasso Friendjonasso
- Join date:
- September 2006
- Posts:
- 82
- Downloads:
- 25
- Uploads:
- 14
- Thanks:
- 6
- Thanked:
- 5 times in 2 posts
March 19, 2012 at 1:56 pm #444533Dear khoand,
Ok, but Won’t it happen again when I change it’s encoding to UTF-8?
Regards,
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 19, 2012 at 3:58 pm #444556To guaranty encoding works normally, you just edit file and save, don’t change encoding.
jonasso Friendjonasso
- Join date:
- September 2006
- Posts:
- 82
- Downloads:
- 25
- Uploads:
- 14
- Thanks:
- 6
- Thanked:
- 5 times in 2 posts
March 19, 2012 at 4:04 pm #444560The 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,
AuthorPostsViewing 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
Odd behavior after changing file encoding to UTF-8
Viewing 7 posts - 1 through 7 (of 7 total)