[MGNLSITE-48] Create registry for themes to allow them to be configured via jcr or yaml definitions Created: 21/Jan/16  Updated: 08/Mar/21  Resolved: 22/Mar/16

Status: Closed
Project: Magnolia Site Module
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0.6

Type: New Feature Priority: Major
Reporter: Christopher Zimmermann Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.75d
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-6589 When using DefinitionMetadataBuilder.... Closed
relates to MGNLSITE-29 Sites via YAML Closed
relates to MAGNOLIA-6609 Map2BeanTransformer doesn't call init... Closed
relates to MGNLSITE-60 Themes added by using the old mechani... Closed
relates to MGNLSITE-73 Remove theme subapp from site-app Closed
relates to MGNLDEMO-189 Move themes to new location Closed
dependency
is depended upon by MGNLDEMO-151 Move themes to new location Closed
is depended upon by MGNLSTK-1524 Move themes to new location Closed
duplicate
duplicates MGNLSITE-56 Bind registry to themes subapp Closed
is duplicated by MGNLSITE-30 Create registry for themes to allow t... Closed
relation
is related to MGNLSITE-67 Image variations with integer names d... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:
Epic Link: LD: create an entire site
Sprint: Kromeriz 36
Story Points: 8

 Description   

It should be possible to configure a theme via YAML.

This will allow themes to be managed in a light module.

theme registry:

  • we choose the name-as-id strategy (over module+relativePath)
  • we support the legacy theme location for compatibility
  • we improve handling of conflicting defs in registries (and favor new location over the old one)
  • we introduce the new approach in travel-demo, stk


 Comments   
Comment by Evzen Fochr [ 18/Mar/16 ]

Theme should extend NamedDefinition

Comment by Roman Kovařík [ 21/Mar/16 ]

Release notes: Location for themes

/modules/site/config/themes/

was deprecated. Use

/modules/<module-name>/themes/

instead.

Generated at Mon Feb 12 07:12:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.