Please, I have Developer 4.2.3 68Classifields with TemplateCodes, all translated to pt-br. The EXTERNAL LISTINGS MODULE does not send special letters from portuguese ok in others sites. My site is Clssificados GanhaGanha.Org. Ganha quem Compra e Ganha quem Vende! and I used EXTERNAL LISTINGS in these sites: index (just with this to test all) Valença RJ - Negócios , Lazer e Imóveis (Botton) www.homecentergomes.com.br (botton) Please I need this function working to put site in production. And the ideia is the solution for all. Thank you
I just tested this and there are no issues passing accented characters via the external listings iframe between our demo site and a word press blog. The only thing I can think of is you are having problems because you are outputting via the classifieds site which is UTF-8 into sites which are ISO. In which case you may find information on Google on how to set the character encoding on the target page. e.g. the target page should have this in its header. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
Please, my files are the same, but problem persist! Please, look my file, is OK and result is withou special pt-br. I have this maneco.net just to test... index <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>index</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> </head> <body> <iframe width="800" height="407" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" lang="pt" src="http://ganhaganha.org/modules.php?mod=external&number=6&type=featured&titleLength=60"></iframe> <p> </p> <p> </p> <p> </p> </body> </html>
I did try from other server - problem is the same I used other server to accesss site, to verify is was some in cash, but problem is the same! Thank you!
Try this tool on your sites. It is saying you have errors. Anyway. W3C I18n Checker However when I look at your test page (index) it page it shows fine for me with no problems on the accented characters so it is something on your target sites. This does not appear to be a problem with the module or your 68C site but in your target site. The word press blog worked for me with header. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <iframe width="695" height="180" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://demo.templatecodes.com/modules.php?mod=external&number=5&titleLength=40 target="_blank"></iframe> The header on the source site is this !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
I realy would like to say that you are write in all, but... I checked in site W3C like you did say, and see that was missing an argument. Now I have 100% ok with language, as you can check and problem is a live ! Please check index The simple file, and below the answer from WC3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>index</title> <html lang="pt-br"> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> </head> <body> <iframe width="800" height="407" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" lang="pt" src="http://ganhaganha.org/modules.php?mod=external&number=6&type=featured&titleLength=60"></iframe> <p> </p> <p> </p> <p> </p> </body> </html> ================================================================ No issues to report ! HTML 4.01 - text/html Information Character encoding Code HTTP Content-Type No encoding information found Content-Type: text/html Byte order mark (BOM) No Meta tag UTF-8 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/> Language Code HTML tag pt-br <html lang="pt-br"> HTTP Content-Language None found Text direction Code Default direction LTR (by default) Class & id names Code Non-ascii class or id names None Non-NFC class or id names None Request headers Code Accept-Language pt-br pt en-us en Accept-Language: pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Charset ISO-8859-1 utf-8 * Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Other site with same problem. Please, look Valenca RJ - Negcios , Lazer e Imveis w3 checked and with prblems too.
David from templatescodes send this to me: Now he iframe for external results. This appears to be a bug. I will look into it further. Regards David ========================== We are going to start marketing capagne tomorrow, so is very important have this Ok. We will have radio, newspapers, and others campagnies... all together..
The page that you linked to in your post is so full of errors and bad syntax, I'm surprised a web browser can even display it! The most basic rules are not being followed including having a doctype declaration first, let alone even an opening html element. You have html elements declared in both UPPERCASE and lowercase, you have several <head>'s in the same document and out of order, etc., etc. I would suggest you work on making your page valid before inserting the iframe into it or anything else. the way it is now will throw any browser into "quirks mode"
So, can you use iframe in one simple good page and show me that works? If say that a page like maneco.net (index made jut to test your code) with just some lines, probable you can put the iframe to work in a simple place and SHow that THERE IS NOT A BUG. You have the IFRAME code that is JUST YOURS CODE, so please, put in a page to work with pt-br and send me the link. Simple, direct and you can show that you are write! The code genereted by External link: <iframe width="800" height="407" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" lang="pt" src="http://ganhaganha.org/modules.php?mod=external&number=6&type=featured&ti tleLength=60"></iframe> Thank you
Let's be clear here. The bug is in your code in your sites and not in the module. Your target sites as Mike is even telling you are not correctly specified. In your index page this is what I see in the screenshot attached. The accented characters show correctly. This is because it is using the correct specification or near to it. This means there is a problem in your target sites. So please explain to me how it can be a bug in the module when it shows on the index (test) page, tested on a word press blog but not in your sites. Conclusion - you need to correct your target sites. aside: you also need to adjust the css for the external listings module so you have enough height on the text selector. That is why the text is cut.
Lets start again: - I have a problem... Hi, i have a problem with the EXTERNAL LISTINGS MODULE. Mike from the sales told me that was a bug. But, If is not OK. I just need this! I do not have access to pic that you post. Can you send to my email? Or send the link? This would be perfect. Please, I have a lot of sites and all have same problem. I try use a code from W3C to pt-br and get erros, even with if site is OK Call me dammy, but can you help me? I just need use it to promote site. I did test others brazilians (no mine) sites in validator got a lot off problems. I did use a declaration to pt-br from wc3 doc in test in maneco.net and got erros I used in a perfect site: homecentergomes.com.br nad got erros are all sites wrong? Ok How is correctly? I just need know what do I need to do to external link works in a pt-br site... If you show me a site, I see the code and I will copy to mine... So please, can you send the link in that you made the test? Look below The W3C says a basic declaration: 3. ESTRUTURA BÁSICA, DOCTYPE E CHARSETS A estrutura básica do HTML5 continua sendo a mesma das versões anteriores da linguagem, há apenas uma excessão na escrita do Doctype. Segue abaixo como a estrutura básica pode ser seguida: Arquivo: exemplos/3/estruturabasica.html 1 <!DOCTYPE HTML> 2 <html lang=”pt-br”> 3 <head> 4 <meta charset=”UTF-8”> 5 <link rel=”stylesheet” type=”text/css” href=”estilo.css”> 6 <title></title> 7 </head> 8 <body> 9 10 </body> 11 </html> ============================== My index <!DOCTYPE HTML> <html lang=”pt-br”> <head> <meta charset=”UTF-8”> <link rel=”stylesheet” type=”text/css” href=”estilo.css”> <title></title> </head> <body> <iframe width="690" height="307" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://ganhaganha.org/modules.php?mod=external&number=6&type=featured&titleLength=60"></iframe> </body> </html> AND GET ERROR so.. I realy DO NOT KNOW WHAT TO DO! ======================================================
I try in Blogger and got erros I did use in: Suportes Brasforma THAT IS A BLOGGER PT-BR Site and Got errors. So I realy do not know what to do! screens attached Can you please help me? I want be wrong ! I Just need code working !
LOOK YOU HAVE THREE ISSUES HERE BECAUSE YOU ARE NOT LISTENING. HOW IS IT THAT I SEE YOUR BLOG CORRECTLY BUT YOU DON'T. HERE IS YOUR ANSWER 1. Try viewing this blog you just posted in your browser correctly. In other words, set your browser up to display with the correct character encoding which is UTF-8 I attach a screen shot which shows accented characters are displaying correctly. You need to use the correct encoding in your browser (set the browser to default - auto detect or to utf-8) 2. Try viewing this test index page you posted in your browser correctly. In other words, set your browser up to display with the correct character encoding which is UTF-8 I already attached a screen shot in a previous post which shows accented characters are displaying correctly. You need to use the correct encoding in your browser (set the browser to default - auto detect or to utf-8) 3. YOUR OTHER SITES CONTAIN MANY ERRORS - YOU ALSO NEED TO BE USING UTF-8 ON THOSE SITES. If they have ISO character encoding, how do you expect any UTF-8 encoded text to display correctly? When you have done this, try viewing your sites in your browser correctly. In other words, set your browser up to display with the correct character encoding which is UTF-8 or set your browser to default - auto detect. The bottom line is this. You do not even have your browser set up correctly to consider the character encoding being specified by the page.
I`m sorry... I am dammy...But I`m sorry I am dommy. So, I am not listenig, but you are not too. Can we start again, please. I can not see the image! AND how do I do ? I NEED SAY TO PEOPLE To SEE MY EXTERNAL LINK with things of mY site : - PLEASE BEFORE SEE IN THE ADDS in PORTUGUESE, PLEASE GO IN YOUR BROWSER AND CHANGE TO UTF8? - The solution is THIS? - Say to anyone to change the browsers? AND I AM REALY DOMMY. I CHANGED to UTF-8 like you says and see everything WRONG!!! I have an idea, I will make a movie to YOU. AND SEND ME THE SCREEM to manecogomes@gmail.com PLEASE !
When i try see the image Go Back 68 Classifieds Forums Reload this Page vBulletin Message Welcome, manecogomes. You last visited: Today at 08:07 AM Private Messages: Unread 0, Total 0. User CP Projects FAQ Community Calendar New Posts Search Quick Links Log Out vBulletin Message manecogomes, you do not have permission to access this page. This could be due to one of several reasons: Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. Log Out Home
The problem you are having is related to the sites where you are putting the iframe, not the module itself. The module was designed to handle UTF-8 as it is the most universal encoding for multiple language support. These pages are telling the browser to use ISO-8859-1 via: Code: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> You can either change this on the other sites if they are within your control to: Code: <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> Or you can try to modify the module to output in ISO-8859-1 by opening modules/external/index.php and just before: PHP: //assign templates $class_tpl->display($modulePath['templates'] . 'external.tpl'); You can try by adding: PHP: header('Content-Type: text/plain; charset=ISO-8859-1'); If that doesn't work try adding it earlier in the file any line after the first 1 "<?php" Also, when it comes to displaying on multiple sites you will have to consider that those sites' HTML need to be valid and you will have to adjust your CSS or have them adjust their's to make it display correctly.
First Thank you for your Help. First, thank you buy your help. I did try first the 2o. choice, adding : header('Content-Type: text/plain; charset=ISO-8859-1'); as you told. in both opptions i got same result like below: (just do not process) This would be perfect, becouse everybody use browser like comes from windows, macs .. And, I would prefer too, becouse to I send the external script to sites of others, i can not change nothing. I will try the first option, but if you can help me with the second, i will apriciate. Thank you ! <link rel="stylesheet" href="modules/external/css/style.css" type="text/css" /> <div class="feat_width"><div class="feat"><div class="feat_img"> <a target="_blank" href="http://www.ganhaganha.org/viewlisting.php?view=70" title="Alugo Chácara Guaribu para festas e eventos. :70" rel="nofollow"> <img src="thumbs/small_guaridscf5090.jpg" alt="Alugo Chácara Guaribu para festas e eventos." width="100" height="100" /> </a> </div><div class="feat_txt"><a target="_blank" href="http://www.ganhaganha.org/viewlisting.php?view=70" title="Alugo Chácara Guaribu para festas e eventos. :70" rel="nofollow">Alugo Chácara Guaribu para festas e eventos.</a></div><div class="feat_price">Grátis</div></div><div class="feat"><div class="feat_img"> <a target="_blank" href="http://www.ganhaganha.org/viewlisting.php?view=47" title="Lote com 8500m2 no canteiro. Valença RJ :47" rel="nofollow"> <img src="thumbs/small_mg10_dscf8132ASmlgeFV.jpg" alt="Lote com 8500m2 no canteiro. Valença RJ" width="100" height="100" /> </a> </div><div class="feat_txt"><a target="_blank" href="http://www.ganhaganha.org/viewlisting.php?view=47" title="Lote com 8500m2 no canteiro. Valença RJ :47" rel="nofollow">Lote com 8500m2 no canteiro. Valença RJ</a></div><div class="feat_price">R$150,000.00</div></div><div class="feat"><div class="feat_img"> <a target="_blank" href="http://www.ganhaganha.org/viewlisting.php?view=53" title="Pedais em PROMOÇÃO :53" rel="nofollow"> <img src="thumbs/small_SDC14730U2B2arCy.jpg" alt="Pedais em PROMOÇÃO" width="100" height="100" /> </a>
Final try. We do understand your problem but you are not listening to the answer. 1. Why can you not click on the attachments in my posts? They clearly show the different cases. You don't have a problem with the module or with your test page or with your blog. However, you do have a problem with your real sites. Two problems in fact. It is annoying that you continue to argue when the pictures (attachments) are in front of you. 2. So there is problem on your test index page or blog - however, you see a problem because you need to go into your Firefox browser setting and set it to view -> character encoding -> auto-detect (on) When you go back to your browser you will see that on your blog or test page it is correctly pointing to UTF-8 character encoding. I am pretty sure that you have not done this and therefore you are trying to view a UTF-8 page with your browser being forced to use to ISO encoding. Let the browser choose. Both of these pages correctly render in utf-8 and accented characters show. Now to your real problem. 2. You need to make sure that your sites do not have errors (css and html ones). That is step 1. You will see that these sites are ISO character encoded. You are iframing UTF-8 characters from the module into these sites. It is not going to work. It is never going to work because the browser is using ISO. It was not designed to work by those that made browsers and character encodings that you render UTF-8 when the page is declared as ISO. Likewise the other way round. " The choice is that you must change your sites to work in UTF-8 (i.e. you need to make your sites UTF-8) or you must change the module to output ISO encoded characters. I am not sure the latter is going to work but as John says you can try to add header('Content-Type: text/plain; charset=ISO-8859-1'); to the external listings modules index.php file.