What is the best way to call up Javascript for specific page that is to be placed in the <head>?
I have 5 different pages that need a bit of different javascript in the header, not the prototype, jquery links for external files but the load functions. I first created 5 chunks and use the getChunks snippet, but it doesn’t work because chunk is only good for html code.
Was reading ’Creating Snippets’ article from the Wiki, I cannot go very far as my PHP knowledge is still at Kindergarten level
’
http://wiki.modxcms.com/index.php/Creating_Snippets
I really don’t want to create 7 templates if possible.
Any guidance or pointer is greatly appreciated.