The link for the flags its some like that: http://www.interfactory.com.br/jahia/Jahia/lang/es/pid/1
The image link its some like that: http://www.interfactory.com.br/jahia/jsp/jahia/templates/myjahiasite/interFa ctory/images/spanish_2.gif Es = Spanish En = English Pt = Portuguese If I enter the address manually in the browser (http://www.interfactory.com.br/jahia/Jahia/lang/pt/pid/1) for the missing flag. All the texts and images are just fine. The crazy thing is that I have the same installation for a machine running windows xp sp2 and another with windows 2003. When I use it in windows 2003 the Portuguese flag are missing, but when I start with xp it shows up with no problem. Do you have any ideas?? Thanks a lot. Thiago -----Original Message----- From: Philippe Vollenweider [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 14 de Março de 2007 5:30 To: [email protected] Subject: Re: crazy flags What is the generated image URL for your flags? If you go to this URL, did you get an error message? /P. At 12.03.2007 21:05, you wrote: >Hi, >I have installed jahia 4.1.1 in my red hat >server (no problem so far). But a few days ago >we have to change it to windows 2003 server >(same template and everything). However, when we >set up on windows 2003 server on flag in our >template was gone. I tried to set up the same >environment in my virtual machine (windows xp) >and for my surprise everything was just fine I >tried again on windows 2003, but nothing, same problem. > >The code I used > > > <td class="Rodape">IDIOMA:</td> ><% > > JahiaSite jahiaSite = jParams.getSite(); > Vector > languageSettings = jahiaSite.getLanguageSettings(true); > Enumeration > languageEnum = languageSettings.elements(); > while (languageEnum.hasMoreElements()) { > >SiteLanguageSettings siteLanguageSettings >=(SiteLanguageSettings)languageEnum.nextElement(); > String > languageCode = siteLanguageSettings.getCode(); > Locale loc = > LanguageCodeConverters.languageCodeToLocale(languageCode); > String alt = > loc.getDisplayLanguage(loc) + " [" + loc.getDisplayName() + "]"; > > if > (loc.getDisplayName().equals("Portuguese")){%> > <td><a > href='<%=jData.gui().drawPageLanguageSwitch(languageCode)%>'> > <img > src="<%=theURL%>/images/portugues_1.gif" > alt="português" width="16" height="11" border="0"> > </a> > </td> > <%} > if > (loc.getDisplayName().equals("German")){%> > <td><a > href='<%=jData.gui().drawPageLanguageSwitch(languageCode)%>'> > <img > src="<%=theURL%>/images/deutsch_2.gif" > alt="deutsch" width="15" height="11" border="0"> > </a> > </td> > <% } > > if > (loc.getDisplayName().equals("Spanish")){ %> > <td><a > href='<%=jData.gui().drawPageLanguageSwitch(languageCode)%>'> > <img > src="<%=theURL%>/images/spanish_2.gif" > alt="spanish" width="17" height="11" border="0"> > </a> > </td> > <%} > > if > (loc.getDisplayName().equals("English")){%> > <td><a > href='<%=jData.gui().drawPageLanguageSwitch(languageCode)%>'> > <img > src="<%=theURL%>/images/englsh_2.gif" > alt="english" width="16" height="11" border="0"> > </a> > </td> > <% } > }%> > > </tr> > >-- >No virus found in this outgoing message. >Checked by AVG Free Edition. >Version: 7.5.446 / Virus Database: 268.18.7/713 >- Release Date: 07-03-2007 9:24 > >-- >No virus found in this outgoing message. >Checked by AVG Free Edition. >Version: 7.5.446 / Virus Database: 268.18.9/719 >- Release Date: 12-03-2007 8:41 -------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date: 13-03-2007 16:51 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date: 13-03-2007 16:51 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date: 13-03-2007 16:51
