This is how it should be:
$html->link(
$article['User']['username'],
array(
'controller' => 'users',
'action' => 'view_profile',
$article['User']['id']
),
array(
'class' => 'button',
'onmouseover'=>"loadtooltip(this,'$userid')",
'onmouseout'=>'hidetooltip()')
);
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 13 Jul 2011, at 12:01, taqman filler wrote:
> can you help me config pls
>
> 2011/7/13 Tilen Majerle <[email protected]>
> first parameter in link method is name for link, second is array or string
> for LINK, third parameter is for other attributes in link
> --
> Lep pozdrav, Tilen Majerle
> http://majerle.eu
>
>
>
> 2011/7/13 taqman filler <[email protected]>
> $html->link($article['User']['username'],array('controller' =>
> 'users','action' => 'view_profile',$article['User']['id'],array('class' =>
> 'button','onmouseover'=>"loadtooltip(this,'$userid')",'onmouseout'=>'hidetooltip()'))));
>
>
>
>
> I got problem this
>
> I'm doing wrong?
>
> thank
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at
> http://groups.google.com/group/cake-php
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at
> http://groups.google.com/group/cake-php
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at
> http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php