Announcement

Collapse
No announcement yet.

Ensureing display from the "Content" field of a Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Ensureing display from the "Content" field of a Page

    Given the following template, HTML in the "Content" field of the page form in the admin should "just work". But I don't see the HTML on the test page.

    Code:
    <mvt:item name="html_profile" />
    <head>
      <mvt:if expr="NOT ISNULL l.settings:page:title">
        <title>&mvt:page:title;</title>
      <mvt:else>
        <title>&mvt:page:name; - &mvt:store:name;</title>
      </mvt:if>
      <mvt:item name="head" param="head_tag" />
    </head>
    <body id="js-&mvte:page:code;" class="<mvt:eval expr="tolower(l.settings:page:code)" />">
      <mvt:item name="hdft" param="global_header" />  
      <div class="row hdft-header">
        <mvt:item name="hdft" param="header" />
      </div>
      <div class="row bg-white main-content-row content-item">
        <div class="column whole">
            <mvt:item name="content" /> <-- edit to add this. Remember folks if you don't call it, you can't see it.
        </div>
      </div>
      <div class="row hdft-footer">
        <mvt:item name="hdft" param="footer" />
      </div>
      <mvt:item name="hdft" param="global_footer" />
    </body>
    </html>
    Screenshot of demo page attached
    Attached Files
    Last edited by cpp-dev; 08-05-20, 01:22 PM.

    #2
    Where is the content page item? The content section won't display without it.

    <mvt:item name="content" />
    M.A.D.* since 1997

    http://www.scotsscripts.com

    *miva application developers

    Comment


      #3
      :facepalm_emoji:
      Of course. I knew it was something simple. Thank you Scot - ScotsScripts.com

      Comment

      Working...
      X