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
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
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
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
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
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
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
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
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
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
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); ?>
>
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
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.
sure :-)
[HTML Code for the table cell:]
[/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
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
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
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,
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'
18 matches
Mail list logo