[MGNLSTK-309] copied stkTemplates Header Dialogs dont work Created: 03/Mar/09 Updated: 23/Jan/13 Resolved: 12/Mar/09 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Rainer Blumenthal | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
If i copy and rename a stkTemplate e.g. an "article" to "article-no-left-nav" and modify it, then then the "Edit Article Header" is not being found. This is beacause of the following line from "/templating-kit/templates/content/mainAreaIntro.ftl": [@cms.editBar dialog="${templateName}Header" editLabel="${i18n['${pageType}.editHeader']}" moveLabel="" deleteLabel=""/] Here the template name is used to reference a dialog - as a workaround we just copied and renamed the according dialogs. |
| Comments |
| Comment by Christian Ringele [ 12/Mar/09 ] |
|
Now in the template it is: The used dialog is now defined within the template definition in the intro node/definition. |