/
A simple page with editable content - Developer Example

A simple page with editable content - Developer Example

TODO-UC: Explain

 

## uc:contains-velocity="true"
## uc:page-type="static"
## uc:page-attribute-string="subtitle"
## uc:page-attribute-html="content"

## uc:menu-used="header"
## uc:menu-used="footer"
## uc:menu-used="help"
## uc:menu-used="account"


 
#parse("/snippets/top.vm")

  <div class="row no-margin">
    <div class="columns small-16">
      #parse("/snippets/breadcrumbs.vm")
    </div>
  </div>
  <div class="row">
    <div class="columns small-16">
     #if($group.getAttribute("subtitle") && $group.getAttribute("subtitle") != '')
        <h2>$group.getAttribute("subtitle")</h2>
      #end

      <div class="page-content">
        #if($group.getAttribute("content") && $group.getAttribute("content") != '')
          $group.getAttribute("content")
        #end
      </div>

    </div>
  </div>

#parse("/snippets/bottom.vm")

Related content

Sample Product Page with Heavy Comments - Developer Example
Sample Product Page with Heavy Comments - Developer Example
More like this
schema.org information on product page - Developer Example
schema.org information on product page - Developer Example
More like this
Displaying Subpages - Developer Example
Displaying Subpages - Developer Example
More like this
Code to render a menu - Developer Example
Code to render a menu - Developer Example
More like this
affiliate_partner_edit_managed_link.vm
affiliate_partner_edit_managed_link.vm
More like this
Storefronts - Static Pages - Converting existing table based page into responsive compatible format
Storefronts - Static Pages - Converting existing table based page into responsive compatible format
More like this