Marijan Milicevic pushed to branch master at cms-community / hippo-essentials
Commits: 0db3cee8 by Bert Leunis at 2017-05-08T11:19:17+02:00 ESSENTIALS-1068 added prototype page definition - - - - - 2 changed files: - plugins/simple-content/src/main/resources/META-INF/simpleContent_instructions.xml - + plugins/simple-content/src/main/resources/hst/page-prototype/page-prototype-definition.xml Changes: ===================================== plugins/simple-content/src/main/resources/META-INF/simpleContent_instructions.xml ===================================== --- a/plugins/simple-content/src/main/resources/META-INF/simpleContent_instructions.xml +++ b/plugins/simple-content/src/main/resources/META-INF/simpleContent_instructions.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2014-2015 Hippo B.V. (http://www.onehippo.com) + Copyright 2014-2017 Hippo B.V. (http://www.onehippo.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ <xml action="copy" source="hst/content-list-page.xml" target="/hst:hst/hst:configurations/{{namespace}}/hst:pages"/> <xml action="copy" source="hst/menu/content-menu-item.xml" target="/hst:hst/hst:configurations/{{namespace}}/hst:workspace/hst:sitemenus/main"/> <xml action="copy" source="hst/catalog/simplecontent-catalog-item.xml" target="/hst:hst/hst:configurations/hst:default/hst:catalog/essentials-catalog"/> + <xml action="copy" source="hst/page-prototype/page-prototype-definition.xml" target="/hst:hst/hst:configurations/{{namespace}}/hst:prototypepages"/> <file action="copy" binary="true" source="images/simple-content.png" target="{{imagesRoot}}/essentials/catalog-component-icons/simple-content.png"/> <file action="copy" binary="true" source="images/generic-list.png" target="{{imagesRoot}}/essentials/catalog-component-icons/generic-list.png"/> </instructionSet> ===================================== plugins/simple-content/src/main/resources/hst/page-prototype/page-prototype-definition.xml ===================================== --- /dev/null +++ b/plugins/simple-content/src/main/resources/hst/page-prototype/page-prototype-definition.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2017 Hippo B.V. (http://www.onehippo.com) + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<sv:node sv:name="contentpage" xmlns:sv="http://www.jcp.org/jcr/sv/1.0"> + <sv:property sv:name="jcr:primaryType" sv:type="Name"> + <sv:value>hst:component</sv:value> + </sv:property> + <sv:property sv:multiple="true" sv:name="jcr:mixinTypes" sv:type="Name"> + <sv:value>hst:prototypemeta</sv:value> + </sv:property> + <sv:property sv:name="hst:displayname" sv:type="String"> + <sv:value>Simple Content Page</sv:value> + </sv:property> + <sv:property sv:name="hst:primarycontainer" sv:type="String"> + <sv:value>main</sv:value> + </sv:property> + <sv:property sv:name="hst:referencecomponent" sv:type="String"> + <sv:value>hst:abstractpages/base</sv:value> + </sv:property> + <sv:node sv:name="main"> + <sv:property sv:name="jcr:primaryType" sv:type="Name"> + <sv:value>hst:containercomponent</sv:value> + </sv:property> + <sv:property sv:name="hst:label" sv:type="String"> + <sv:value>Content Page Main</sv:value> + </sv:property> + <sv:property sv:name="hst:xtype" sv:type="String"> + <sv:value>hst.vbox</sv:value> + </sv:property> + </sv:node> +</sv:node> \ No newline at end of file View it on GitLab: https://code.onehippo.org/cms-community/hippo-essentials/commit/0db3cee8e967de04b3f9ce00f5e172520944e194
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn