Sunday, September 30, 2012

Re: photo_show.php helper

<?php echo $this->Html->link($this->photoShow->thumb($user_obj), '/photos/index/' . $user_obj['User']['username'], false, false, false) ?>

maybe you are missing $this



2012/9/30 Chris <chris69m@yahoo.com>
hi guys,.... I have a photo_show helper which works on 1.2 pre Beta version,... 
now I'm trying to migrate to 1.3 and I can't bring it up in a view: 

   <?php echo $html->link($photoShow->thumb($user_obj), '/photos/index/' . $user_obj['User']['username'], false, false, false) ?>

what am I doing wrong...??? 
thanks 


--
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.
 
 



--
Ivan Rimac
tel: +385 95 555 99 66

--
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: