Opened 14 years ago

Closed 14 years ago

#624 closed enhancement (fixed)

collection specific script

Reported by: kjdon Owned by: kjdon
Priority: moderate Milestone: 2.83 Release
Component: Greenstone2 Runtime Severity: enhancement
Keywords: Cc:


To add collection specific javascript, currently you need to add _pagescriptextra_ to But some macro files define stuff in pagescriptextra and if you don't remember to include this in your version, then the pages don't work. I propose another macro, eg _collectionspecifcscript_ (we already have _collectionspecificstyle_) which can contain just the collection stuff

Change History (1)

comment:1 by kjdon, 14 years ago

Resolution: fixed
Status: newclosed

I have added _collectionspecificscript_.

Also added empty _collectionspecificscript_ and _collectionspecificstyle_ macros into modelcol so that the users will know about them.

Note: See TracTickets for help on using tickets.