[MGNLSTK-939] Targeting content to a channel works for some areas but not others Created: 09/Apr/12 Updated: 04/Dec/13 Resolved: 19/Apr/12 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 2.0, 2.0.1, 2.0.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Matt Dertinger | Assignee: | Tobias Mattsson |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | channels, mobile, stk | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
Hi, Currently, when following the documentation for Targeting content to a channel I can target some content to a channel, for instance it seems to work fine for content in the main area. However, if I try to do the same for content in the extras area, base area, or footer area, the content that should not be rendered for a particular channel is still rendered. I've been able to reproduce the issue on demoauthor site. Steps to Reproduce:
Let me know if you have any questions. Cheers, |
| Comments |
| Comment by Matt Dertinger [ 12/Apr/12 ] |
|
Hi, I updated the priority on this issue since I really need this feature, or a workaround soon. I'm hoping it can be fixed with the Magnolia 4.5.3 release. After a bit more investigation, it appears that targeting content to a channel works in areas that pass in the current content through the content parameter. For example: Targeting content to channel works [@cms.area name="main" content=content/]
Targeting content to channel does not work [@cms.area name="stage"/]
HTH, |
| Comment by Federico Grilli [ 12/Apr/12 ] |
|
Hi Matt, this issue sounds very close to http://jira.magnolia-cms.com/browse/MAGNOLIA-4011 which is scheduled for 4.5.3. Cheers, Federico |