On Apr 8, 8:59 am, John R <[EMAIL PROTECTED]> wrote:
> Is there an easy way with Cake to get /js/register.js to be
> automatically included in register.ctp? (And conversely not included
> if it doesn't exist?)

  Not automagic, but you may add this in the view file:
$this->addScript('register');


--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to