-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0
-
None
-
None
How to reproduce :
- I create a template page with this zones :
<template> <label i18n="true">SKIN_BO_ZONING_PAGE_LABEL</label> <description i18n="true">SKIN_BO_ZONING_PAGE_DESCRIPTION</description> <thumbnail> <medium>thumbnail_32.png</medium> <large>thumbnail_48.png</large> </thumbnail> <zones> <!-- HAUT DE PAGE --> <zone id="top-left" type="secondary" inherit=""> <label i18n="true">SKIN_BO_ZONING_PAGE_TOPLEFT_LABEL</label> <description i18n="true">SKIN_BO_ZONING_PAGE_TOPLEFT_DESCRIPTION</description> </zone> <!-- COLONNE PRINCIPALE --> <zone id="default" type="primary"> <label i18n="true">SKIN_BO_ZONING_PAGE_MAIN_LABEL</label> <description i18n="true">SKIN_BO_ZONING_PAGE_MAIN_DESCRIPTION</description> </zone> <!-- VOS UNIVERS --> <zone id="middle" type="secondary" inherit=""> <label i18n="true">SKIN_BO_ZONING_PAGE_MIDDLE_LABEL</label> <description i18n="true">SKIN_BO_ZONING_PAGE_MIDDLE_DESCRIPTION</description> </zone> <!-- BAS DE PAGE --> <zone id="bottom-left" type="secondary" inherit=""> <label i18n="true">SKIN_BO_ZONING_PAGE_BOTTOMLEFT_LABEL</label> <description i18n="true">SKIN_BO_ZONING_PAGE_BOTTOMLEFT_DESCRIPTION</description> </zone> </zones> </template>
- I configure it like this :
<?xml version="1.0" encoding="UTF-8"?> <content-types> <zones> <!-- COLONNE PRINCIPALE --> <zone id="default" mode="exclude"></zone> <!-- HAUT DE PAGE --> <zone id="top-left" mode="include"> <content-type id="org.ametys.web.default.Content.article"/> </zone> <!-- VOS UNIVERS --> <zone id="middle" mode="include"> <content-type id="org.ametys.plugins.myfavorites.Content.myfavorites"/> </zone> <!-- BAS DE PAGE --> <zone id="bottom-left" mode="exclude"></zone> </zones> </content-types>
> in the CMS all contents are allowed in the top-left zone whereas article content should be the unique content type that could be used
[CMS-7246] The configuration to restrict the contents by zones and by templates is not taken into account.
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Summary | Original: The configuration to restrict the contents and the services by zones and by templates is not taken into account. | New: The configuration to restrict the contents by zones and by templates is not taken into account. |
Fix Version/s | New: 4.0 beta [ 12980 ] |
Assignee | New: Laurence Aumeunier [ laurence ] |