on 2017 Mar 02 11:44 AM
can we able to create custom component using combination of three components like link component and banner component and paragraph component
Request clarification before answering.
Yes you can able to create custom component that it can contains banner,paragraph and link component.
You should add this code blog to the core-items.xml then you should run ant clean all && ant updatesystem -DtypeSystemOnly=true
<itemtype code="CMSNewsComponent" extends="SimpleCMSComponent" generate="true" autocreate="true"
jaloclass="com.viking.core.jalo.CMSNewsComponent">
<description>Used to display offers on homepage</description>
<attributes>
<attribute type="localized:java.lang.String" qualifier="headerText">
<modifiers read="true" write="true" optional="false" />
<persistence type="property" />
</attribute>
<attribute type="CMSImageComponent" qualifier="contentImage">
<modifiers read="true" write="true" optional="false" />
<persistence type="property" />
</attribute>
<attribute type="CMSParagraphComponent" qualifier="contentText">
<modifiers read="true" write="true" optional="false" />
<persistence type="property" />
<description>The content text of news</description>
</attribute>
</attributes>
</itemtype>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
17 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.