Ticket #1088 (closed enhancement: fixed)

Opened 18 months ago

Last modified 12 months ago

clean up template directory structure

Reported by: russ Owned by: npeterson
Priority: medium Milestone: 0.9.3_rc3
Component: ambra Version: 0.9.1-SNAPSHOT
Keywords: templates Cc:

Description (last modified by russ) (diff)

1. get rid of the journals/plosJournals directory (which is used as the location of site-wide freemarker template overrides) and replace it with the default journal's template directory.

why:

  • the default journal's default.xml is used as the site-wide configuration override. it doesn't make sense to have the config override in one location and the freemarker template override in another.
  • the existence of a random folder named "plosJournals" is an abomination

2. simplify the template directory structure

we can move the overlay journal's config file into the main template directory, and get rid of all the nested directory hierarchy above the actual template directory.

Change History

Changed 17 months ago by rcave

  • milestone changed from 0.9.2 to 0.9.3

Moving out of 0.9.2 and into 0.9.3 as part of the template cleanup.

Changed 16 months ago by rcave

  • milestone changed from 0.9.3_rc1 to 0.9.3_rc2

Moved to 0.9.3_rc2

Changed 14 months ago by npeterson

  • milestone changed from 0.9.3_rc2 to 0.9.3_rc3

template cleanup rescheduled for 0.9.3_rc3

Changed 14 months ago by russ

  • description modified (diff)
  • summary changed from get rid of PLoSJournals override directory, use default journal instead to clean up template directory structure

Changed 13 months ago by dragisak

(In [7764]) Major refactoring of template mechanism.

  1. Site-wide override moved from /webapp/journals/plosJournal to default journal.
  2. Removed redundancies in config files
    • Remove <defaultJournalName>
    • Simplify <virtualJournals><default><journal>..</journal><mappingprefix>...</mappingPrefix> to <virtualJournals><default>default-journal-name</default>
  3. Add site-wide override for resources (images, css, javascript)

Addresses #1088 and #930

Changed 13 months ago by dragisak

(In [7767]) Apply changes in default journal configuration.

Should have been part of r7764

Addresses #1088

Changed 13 months ago by npeterson

  • owner changed from dragisak to npeterson
  • status changed from new to verify
  • resolution set to fixed

Changed 12 months ago by npeterson

  • status changed from verify to closed
Note: See TracTickets for help on using tickets.