[MAGNOLIA-1384] Default to parent's template for new pages Created: 16/Feb/07  Updated: 23/Jan/13  Resolved: 26/Feb/07

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 3.0.1
Fix Version/s: 3.0.2

Type: Improvement Priority: Minor
Reporter: Simon Goodchild Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File MAGNOLIA-1384.patch    
Issue Links:
supersession
is superseded by MAGNOLIA-1408 Review TemplateManager Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

When creating new pages in AdminCentral, the default template is always the first available template that is visible to the user. This can be annoying if the default template is one that is little used, as the user has to always change it. This enhancement defaults the template to the same one as used by the parent page, so once you have set the correct template for a branch of the site all new sub-pages will use the same template. For new root pages, that have no parent, the existing behaviour is used.



 Comments   
Comment by Simon Goodchild [ 16/Feb/07 ]

Here is a patch for the enhancement

Comment by Magnolia International [ 16/Feb/07 ]

thanks !

Comment by Magnolia International [ 26/Feb/07 ]

patch commited to trunk and 3.0 branch. thanks !

Comment by Magnolia International [ 26/Feb/07 ]

refined the patch so that it checks if the user can actually use the parent's template.
(needs some refinment/refactoring, see MAGNOLIA-1408)

Generated at Mon Feb 12 03:26:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.