News Feed
Jobs Feed
Sections




News Archive
Jacques Marneweck's Blog:
Smarty tip for including multiple javascript files
December 26, 2006 @ 15:44:10

Jacques Marneweck has a tip for Smarty users out there looking for a simpler way to include multiple Javascript files into their templates.

Previously one would have a good chunk of lines to include different javascript files based on what your form was requiring for effects, in the template file where you include the header.tpl file you would specify which set of javascript files to also include.

His solution combines the normal Smarty calls for the different Javascript files into a single, simple insert calls for as many Javascript files you'd like to include.

0 comments voice your opinion now!
smarty javascript include multiple tip smarty javascript include multiple tip


blog comments powered by Disqus

Similar Posts

John Cox\'s Blog: vTiger multiple vulnerabilities

Lukas Smith's Blog: Remember: be nice to byte code caches

Community News: Has Smarty's Time Come?

Zend Developer Zone: The HYSOCAMTT templating approach

International PHP Magazine: IPM Poll Question: How to Speed up Your Site?


Community Events











Don't see your event here?
Let us know!


release community usergroup development zendframework2 conference testing introduction series database interview symfony2 language unittest opinion phpunit functional podcast rest framework

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework