Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-16 Thread sebb86
The solution was an empty array [dynamic code] link($html->image("delete.png", array("alt" => "Löschen")), array("controller" => $contr, "action" => "delete", $row[$class]['id']), array(), sprintf(__($deleteQuestion, true), $row[$class]['id']), null, false); ?> [/code] Really thanks a lot to

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-16 Thread cricket
On Apr 16, 7:20 am, sebb86 wrote: > cricket > > Also thanks to you. It dont works in both browsers. Dont know why. > Anyway... i decided that i dont use CSS for this. I got it working so > far but i still have one problem. > > [this code works (without the CSS class, but its okay] > image("edit.pn

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-16 Thread sebb86
cricket Also thanks to you. It dont works in both browsers. Dont know why. Anyway... i decided that i dont use CSS for this. I got it working so far but i still have one problem. [this code works (without the CSS class, but its okay] image("edit.png", array("alt" => "Editieren", 'url' => array('c

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-16 Thread cricket
On Apr 16, 6:13 am, sebb86 wrote: > Addition: > I'm really sorry but i forgot my self defined css... :( > So this works for Firefox: > [code] > link('Edit', array("controller" => 'dns_names', > "action" => "edit", $dns_name['Dnsname']['id']), array('class' => > 'edit', "title" => "Editieren"), nul

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-16 Thread sebb86
Addition: I'm really sorry but i forgot my self defined css... :( So this works for Firefox: [code] link('Edit', array("controller" => 'dns_names', "action" => "edit", $dns_name['Dnsname']['id']), array('class' => 'edit', "title" => "Editieren"), null, false); ?> [/code] And when i remove: " array

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-16 Thread John Andersen
Do you have some specific styling for IE? Try also just to write a dummy link around your image, just to see if it makes a difference! [code] '.$html->image("edit.png", array("alt" => "Editieren")).''; ?> [\code] Enjoy, John On Apr 16, 12:38 pm, sebb86 wrote: > Another addition: > When i only

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-16 Thread sebb86
Another addition: When i only insert the image, without the $html->link, it works in internet explorer 8. [code works but without link] image("edit.png", array("alt" => "Editieren")); ?> [\code] Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread sebb86
Hello again and really thank you cricket and John! < OK. Copy the HTML source and paste it directly into the view and see < if the image & link are accessible inside the table. Same as before. When i substitute the variables it works fine in Firefox but _not_ in Internet Explorer :/ Check out th

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread cricket
On Apr 15, 2:24 pm, sebb86 wrote: > Yes, i see it. > When i copy the element outside the table, it works fine. OK. Copy the HTML source and paste it directly into the view and see if the image & link are accessible inside the table. Check out the new CakePHP Questions site http://cakeqs.org and

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread sebb86
Yes, i see it. When i copy the element outside the table, it works fine. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this gr

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread cricket
On Apr 15, 1:31 pm, sebb86 wrote: > cricket > > Do  you mean the code should be: > [code] > link($html->image("edit.png", array("alt" => > "Editieren")), array("controller" => $contr, "action" => "edit", > $row[$class]['id']), array('class' => 'edit', "title" => "Editieren"), > null, false); ?> >

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread sebb86
cricket Do you mean the code should be: [code] link($html->image("edit.png", array("alt" => "Editieren")), array("controller" => $contr, "action" => "edit", $row[$class]['id']), array('class' => 'edit', "title" => "Editieren"), null, false); ?> [/code] Then it creates the following [html source

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread cricket
On Apr 15, 1:04 pm, sebb86 wrote: > sure :-) > > [HTML Code for the table cell:] > src="/img/edit.png" alt="Editieren" /> td> > [/code] > Is the source really escaped like that? If so, that's the problem. ... Just double-checked your code. The false param ($escape) is in the wrong place.

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread sebb86
sure :-) [HTML Code for the table cell:] Editieren [/code] Addition: When i copy the element outside the table, it works fine. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this m

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread John Andersen
Ok, then it is probably just an issue with your CSS :) Try and see what CSS are affecting the presentation of your HTML link in the table cell. Maybe you can show the HTML code for the table cell? Enjoy, John On Apr 15, 6:04 pm, sebb86 wrote: > Hello, > thanks for the suggestion. > I just comp

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread sebb86
Hello, thanks for the suggestion. I just compared it. The source code is the same. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post

Re: Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread John Andersen
Have you compared the HTML source code in both browsers? And are they the same? Enjoy, John On Apr 15, 12:54 pm, sebb86 wrote: > Hello, > i want to show an element in a table cell. > > [element code] > link($html->image("edit.png", array("alt" => > "Editieren")), array("controller" => $contr,

Internet Explorer error! (Want to show element in a table cell) :-(

2010-04-15 Thread sebb86
Hello, i want to show an element in a table cell. [element code] link($html->image("edit.png", array("alt" => "Editieren")), array("controller" => $contr, "action" => "edit", $row[$class]['id']), array('class' => 'edit', "title" => "Editieren"), false); ?> [/code] [code in view] element('options'