[xml] socialMedia
Viewer
- <socialmedia
- cq:showOnCreate="{Boolean}true"
- jcr:primaryType="nt:unstructured"
- jcr:title="Social Media"
- sling:orderBefore="cloudservices"
- sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns">
- <items jcr:primaryType="nt:unstructured">
- <column
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/container">
- <items jcr:primaryType="nt:unstructured">
- <section
- jcr:primaryType="nt:unstructured"
- jcr:title="Social Media sharing"
- sling:resourceType="granite/ui/components/coral/foundation/form/fieldset">
- <items jcr:primaryType="nt:unstructured">
- <inputgroup
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/text"
- text="Enable user sharing for"/>
- <field
- cq:showOnCreate="{Boolean}true"
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/fieldset">
- <items jcr:primaryType="nt:unstructured">
- <facebook
- cq:showOnCreate="{Boolean}true"
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
- class="cq-dialog-checkbox-showhide"
- cq-dialog-checkbox-showhide-target=".fb-option-showhide-target"
- name="./socialMedia"
- renderReadOnly="{Boolean}true"
- text="Facebook"
- value="fb">
- <granite:data
- jcr:primaryType="nt:unstructured"
- cq-msm-lockable="socialMedia"/>
- </facebook>
- <twitter
- cq:showOnCreate="{Boolean}true"
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
- class="cq-dialog-checkbox-showhide"
- cq-dialog-checkbox-showhide-target=".tw-option-showhide-target"
- name="./socialMedia"
- renderReadOnly="{Boolean}true"
- text="Twitter"
- value="tw">
- <granite:data
- jcr:primaryType="nt:unstructured"
- cq-msm-lockable="socialMedia"/>
- </twitter>
- <linkedin
- cq:showOnCreate="{Boolean}true"
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
- class="cq-dialog-checkbox-showhide"
- cq-dialog-checkbox-showhide-target=".li-option-showhide-target"
- name="./socialMedia"
- renderReadOnly="{Boolean}true"
- text="Linkedin"
- value="li">
- <granite:data
- jcr:primaryType="nt:unstructured"
- cq-msm-lockable="socialMedia"/>
- </linkedin>
- <pinterest
- jcr:primaryType="nt:unstructured"
- sling:hideResource="{Boolean}true"/>
- </items>
- </field>
- <variantpath
- jcr:primaryType="nt:unstructured"
- sling:hideResource="{Boolean}true"/>
- <socialmedia_type
- jcr:primaryType="nt:unstructured"
- sling:hideResource="{Boolean}true"/>
- <fbShowHideContainer
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/foundation/container"
- class="hidden fb-option-showhide-target"
- showhidetargetvalue="fb">
- <items jcr:primaryType="nt:unstructured">
- <og_title
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
- fieldLabel="og:title"
- name="./ogTitle"/>
- <og_description
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
- fieldLabel="og:description"
- name="./ogDescription"/>
- <og_image
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
- fieldLabel="og:image"
- rootPath="/content/dam"
- name="./ogImage"/>
- </items>
- </fbShowHideContainer>
- <twShowHideContainer
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/foundation/container"
- class="hidden tw-option-showhide-target"
- showhidetargetvalue="tw">
- <items jcr:primaryType="nt:unstructured">
- <twitter_title
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
- fieldLabel="twitter:title"
- name="./twitterTitle"/>
- <twitter_description
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
- fieldLabel="twitter:description"
- name="./twitterDescription"/>
- <twitter_image
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
- fieldLabel="twitter:image"
- rootPath="/content/dam"
- name="./twitterImage"/>
- </items>
- </twShowHideContainer>
- <liShowHideContainer
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/foundation/container"
- class="hidden li-option-showhide-target"
- showhidetargetvalue="li">
- <items jcr:primaryType="nt:unstructured">
- <linkedin_title
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
- fieldLabel="linkedin:title"
- name="./linkedinTitle"/>
- <linkedin_description
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
- fieldLabel="linkedin:description"
- name="./linkedinDescription"/>
- <linkedin_image
- jcr:primaryType="nt:unstructured"
- sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
- fieldLabel="linkedin:image"
- rootPath="/content/dam"
- name="./linkedinImage"/>
- </items>
- </liShowHideContainer>
- </items>
- </section>
- </items>
- </column>
- </items>
- </socialmedia>
Editor
You can edit this paste and save as new: