Ticket #624 (closed enhancement: fixed)

Opened 11 years ago

Last modified 11 years ago

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 extra.dm. 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

Changed 11 years ago by kjdon

  • status changed from new to closed
  • resolution set to fixed

I have added _collectionspecificscript_.

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

Note: See TracTickets for help on using tickets.