[MGNLMULTPA-28] Test Fragments Use case - on Freemarker Created: 15/Nov/23 Updated: 29/Nov/23 Resolved: 24/Nov/23 |
|
| Status: | Closed |
| Project: | Multiple Pages Apps |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Chuong Doan Huy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
|||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||
| Template: |
|
|||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||||||||||||
| Task DoR: |
Empty
|
|||||||||||||||||||||||||
| Date of First Response: | ||||||||||||||||||||||||||
| Epic Link: | Multiple Pages App LD | |||||||||||||||||||||||||
| Sprint: | DevX 51 | |||||||||||||||||||||||||
| Team: | ||||||||||||||||||||||||||
| Work Started: | ||||||||||||||||||||||||||
| Description |
|
Lets see if current impl supports the main Pages app gettting contetn from another custom one created with this module. Create a demo project to show what does and does not work. Develop the following for both Freemarker and SPA approach. Scenario:
Expectations:
Note: I think the main work is to create the Banner templating component. I think everything else should basically already be in plaace. Here is the "skeleton" of a demo project which shows off the similar use cases with linking to other pages and linking to content items: https://git.magnolia-cms.com/users/czimmermann/repos/page-fragments-demo/browse Tips: See the existing "Campain Manager" module which has basically implemented similar functionality. But the Campaign Manager also has a whole scheduling and "slots" concept that we do not need/want here. For both Freemaker and SPA, See:
For SPA - See: https://docs.magnolia-cms.com/campaign-manager/integrate.html
Additional References: assign campaignAreaNode = campaignfn.getCampaignManagedArea(campaignNode)! [@cms.area content=cmsfn.asContentMap(campaignAreaNode) area=campaignAreaDefinition editable=false/] Tip: Look into campainfn... maybe create "fragmentfn" for more general case.
|
| Comments |
| Comment by Chuong Doan Huy [ 23/Nov/23 ] |
|
After discovery, we agree that it's possible to implement the logic describe in the ticket. |