Tuesday, October 2, 2012

Re: i18n - no flags

Update and case closed.

The problem could be in the latest version of cakePHP.(v2.3).
After reinstalling the previous version, everthing went well.

but hej, thank you for searching.

Patrick.

Op dinsdag 25 september 2012 16:46:03 UTC+2 schreef Dr. Drijk het volgende:
maybe a silly question, but anyway.

I'm using the i18n plugin, copied into the plugin folder.
I use an element which creates the heading for each page. In this element i use the switchFlag function of the pluging:
     
"<td class="button"><?php echo $this->Html->image('printer-icoon.gif',array('alt'=>'print de pagina', 'onclick'=>'window.print()', 'onmouseover'=>'this.style.border = "1px Solid #EEDDFF 1px"', 'onmouseout'=>'this.style.border ="0px Solid #EEDDFF"')); ?></td>
<td><?php echo $this->I18n->flagSwitcher(array('class' => 'languages', 'id' => 'language-switcher')); ?></td>"
 
The created 'flag' functions quite well, no problem with that, but the pictures themself aren't shown.
the html-code generated looks like this
<img alt="" src="/VR/V6/i18n/img/flags/fr.png"/>

I don't know it this is related to it. since I introduced the flags even the results of DebugKit aren't rendered wel.
All te results are shown at the end of the page and not as a toobar.

any idea how to solve this?

Patrick
    

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: