I never anticipated extending Assetic's twig integration by creating
new TokenParsers… can you accomplish this by adding the asset to the
DIC and tagging it assetic.asset? Also, are you aware Assetic includes
a filter for Packager?

Thanks,
Kris

On May 29, 2011, at 5:18 AM, dukeofgaming <dukeofgam...@gmail.com> wrote:

> Hi,
>
> I'm trying to port my previous symfony MooTools plugin (https://
> bitbucket.org/imbue/sfmootoolsplugin/src) to Symfony 2 (https://
> bitbucket.org/imbue/mootoolsbundle/src).
>
> The tag itself (i.e. "{% mootools %}") is already working , however
> I've hit a wall while trying to import js and css with assetic from
> Imbue/MooToolsBundle/Resources/js/*, but I don't really know how; I
> was trying to invoke the helper functions so they could use the
> bundle's route, however, those functions are not declared yet:
> https://bitbucket.org/imbue/mootoolsbundle/src/5876972c335b/Twig/Node/MooToolsNode.php#cl-21
>
> Then, how can I include those js and css files from my Twig_node?
>
> Best regards and thanks for your time,
>
> David
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to