> In template:
> <?php use_javascript('registration') ?>
> <?php include_javascripts() ?> <------------- this is VERY
> IMPORTANT !!!
I think this is unconventional way to do it ... read my other reply on
how to do it in view.yml which is more conventional in Symfony
On Fri, Mar 13, 2009 at 10:26 AM, dziobacz <[email protected]> wrote:
>
> I know !! :)
>
> In template:
> <?php use_javascript('registration') ?>
> <?php include_javascripts() ?> <------------- this is VERY
> IMPORTANT !!!
>
>
>
> On 12 Mar, 19:41, dziobacz <[email protected]> wrote:
>> I have file 'registration.js' with javascript only for page
>> 'registerSuccess.php' - I added it in template registerSuccess.php:
>> <?php use_javascript('registration.js') ?>
>>
>> but it doesn't work - why ?
>>
>> If I add this file in layout:
>> <?php use_javascript('jquery.js') ?>
>> <?php use_javascript('skrypty.js') ?>
>> <?php include_javascripts() ?>
>>
>> it works but I want this file only for site 'registerSuccess.php'.
> >
>
--
Blue Horn Ltd - System Development
http://bluehorn.co.nz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---