[xml] socialMedia

Viewer

copydownloadembedprintName: socialMedia
  1. <socialmedia
  2.                             cq:showOnCreate="{Boolean}true"
  3.                             jcr:primaryType="nt:unstructured"
  4.                             jcr:title="Social Media"
  5.                             sling:orderBefore="cloudservices"
  6.                             sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns">
  7.                         <items jcr:primaryType="nt:unstructured">
  8.                             <column
  9.                                     jcr:primaryType="nt:unstructured"
  10.                                     sling:resourceType="granite/ui/components/coral/foundation/container">
  11.                                 <items jcr:primaryType="nt:unstructured">
  12.                                     <section
  13.                                             jcr:primaryType="nt:unstructured"
  14.                                             jcr:title="Social Media sharing"
  15.                                             sling:resourceType="granite/ui/components/coral/foundation/form/fieldset">
  16.                                         <items jcr:primaryType="nt:unstructured">
  17.                                             <inputgroup
  18.                                                     jcr:primaryType="nt:unstructured"
  19.                                                     sling:resourceType="granite/ui/components/coral/foundation/text"
  20.                                                     text="Enable user sharing for"/>
  21.                                             <field
  22.                                                     cq:showOnCreate="{Boolean}true"
  23.                                                     jcr:primaryType="nt:unstructured"
  24.                                                     sling:resourceType="granite/ui/components/coral/foundation/form/fieldset">
  25.                                                 <items jcr:primaryType="nt:unstructured">
  26.                                                     <facebook
  27.                                                             cq:showOnCreate="{Boolean}true"
  28.                                                             jcr:primaryType="nt:unstructured"
  29.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
  30.                                                             class="cq-dialog-checkbox-showhide"
  31.                                                             cq-dialog-checkbox-showhide-target=".fb-option-showhide-target"
  32.                                                             name="./socialMedia"
  33.                                                             renderReadOnly="{Boolean}true"
  34.                                                             text="Facebook"
  35.                                                             value="fb">
  36.                                                         <granite:data
  37.                                                                 jcr:primaryType="nt:unstructured"
  38.                                                                 cq-msm-lockable="socialMedia"/>
  39.                                                     </facebook>
  40.                                                     <twitter
  41.                                                             cq:showOnCreate="{Boolean}true"
  42.                                                             jcr:primaryType="nt:unstructured"
  43.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
  44.                                                             class="cq-dialog-checkbox-showhide"
  45.                                                             cq-dialog-checkbox-showhide-target=".tw-option-showhide-target"
  46.                                                             name="./socialMedia"
  47.                                                             renderReadOnly="{Boolean}true"
  48.                                                             text="Twitter"
  49.                                                             value="tw">
  50.                                                         <granite:data
  51.                                                                 jcr:primaryType="nt:unstructured"
  52.                                                                 cq-msm-lockable="socialMedia"/>
  53.                                                     </twitter>
  54.                                                     <linkedin
  55.                                                             cq:showOnCreate="{Boolean}true"
  56.                                                             jcr:primaryType="nt:unstructured"
  57.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
  58.                                                             class="cq-dialog-checkbox-showhide"
  59.                                                             cq-dialog-checkbox-showhide-target=".li-option-showhide-target"
  60.                                                             name="./socialMedia"
  61.                                                             renderReadOnly="{Boolean}true"
  62.                                                             text="Linkedin"
  63.                                                             value="li">
  64.                                                         <granite:data
  65.                                                                 jcr:primaryType="nt:unstructured"
  66.                                                                 cq-msm-lockable="socialMedia"/>
  67.                                                     </linkedin>
  68.  
  69.                                                     <pinterest
  70.                                                             jcr:primaryType="nt:unstructured"
  71.                                                             sling:hideResource="{Boolean}true"/>
  72.                                                 </items>
  73.                                             </field>
  74.                                             <variantpath
  75.                                                     jcr:primaryType="nt:unstructured"
  76.                                                     sling:hideResource="{Boolean}true"/>
  77.                                             <socialmedia_type
  78.                                                     jcr:primaryType="nt:unstructured"
  79.                                                     sling:hideResource="{Boolean}true"/>
  80.                                             <fbShowHideContainer
  81.                                                     jcr:primaryType="nt:unstructured"
  82.                                                     sling:resourceType="granite/ui/components/foundation/container"
  83.                                                     class="hidden fb-option-showhide-target"
  84.                                                     showhidetargetvalue="fb">
  85.                                                 <items jcr:primaryType="nt:unstructured">
  86.                                                     <og_title
  87.                                                             jcr:primaryType="nt:unstructured"
  88.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
  89.                                                             fieldLabel="og:title"
  90.                                                             name="./ogTitle"/>
  91.                                                     <og_description
  92.                                                             jcr:primaryType="nt:unstructured"
  93.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
  94.                                                             fieldLabel="og:description"
  95.                                                             name="./ogDescription"/>
  96.                                                     <og_image
  97.                                                             jcr:primaryType="nt:unstructured"
  98.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
  99.                                                             fieldLabel="og:image"
  100.                                                             rootPath="/content/dam"
  101.                                                             name="./ogImage"/>
  102.  
  103.                                                 </items>
  104.                                             </fbShowHideContainer>
  105.                                             <twShowHideContainer
  106.                                                     jcr:primaryType="nt:unstructured"
  107.                                                     sling:resourceType="granite/ui/components/foundation/container"
  108.                                                     class="hidden tw-option-showhide-target"
  109.                                                     showhidetargetvalue="tw">
  110.                                                 <items jcr:primaryType="nt:unstructured">
  111.                                                     <twitter_title
  112.                                                             jcr:primaryType="nt:unstructured"
  113.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
  114.                                                             fieldLabel="twitter:title"
  115.                                                             name="./twitterTitle"/>
  116.                                                     <twitter_description
  117.                                                             jcr:primaryType="nt:unstructured"
  118.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
  119.                                                             fieldLabel="twitter:description"
  120.                                                             name="./twitterDescription"/>
  121.                                                     <twitter_image
  122.                                                             jcr:primaryType="nt:unstructured"
  123.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
  124.                                                             fieldLabel="twitter:image"
  125.                                                             rootPath="/content/dam"
  126.                                                             name="./twitterImage"/>
  127.                                                 </items>
  128.                                             </twShowHideContainer>
  129.                                             <liShowHideContainer
  130.                                                     jcr:primaryType="nt:unstructured"
  131.                                                     sling:resourceType="granite/ui/components/foundation/container"
  132.                                                     class="hidden li-option-showhide-target"
  133.                                                     showhidetargetvalue="li">
  134.                                                 <items jcr:primaryType="nt:unstructured">
  135.                                                     <linkedin_title
  136.                                                             jcr:primaryType="nt:unstructured"
  137.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
  138.                                                             fieldLabel="linkedin:title"
  139.                                                             name="./linkedinTitle"/>
  140.                                                     <linkedin_description
  141.                                                             jcr:primaryType="nt:unstructured"
  142.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
  143.                                                             fieldLabel="linkedin:description"
  144.                                                             name="./linkedinDescription"/>
  145.                                                     <linkedin_image
  146.                                                             jcr:primaryType="nt:unstructured"
  147.                                                             sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
  148.                                                             fieldLabel="linkedin:image"
  149.                                                             rootPath="/content/dam"
  150.                                                             name="./linkedinImage"/>
  151.                                                 </items>
  152.                                             </liShowHideContainer>
  153.  
  154.                                         </items>
  155.                                     </section>
  156.                                 </items>
  157.                             </column>
  158.                         </items>
  159.                     </socialmedia>

Editor

You can edit this paste and save as new:


File Description
  • socialMedia
  • Paste Code
  • 02 Dec-2022
  • 12.99 Kb
You can Share it: