pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] dw_dev_training 2010-09-02 03:20 pm (UTC)

So in the TT template for a page that uses jQuery and page-specific JS some of which doesn't rely on jQuery, I might need to do something like:
[% dw.need_res( 'css/ponies.css' ); %]
[% dw.need_res( 'js/ponies.js' ); %]
[% dw.need_res( ( group => 'jquery' ), 'js/sparkle.js' ); %]
[% dw.set_active_resource_group( 'jquery' ); %]
Is that correct?

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting