Announcement

Collapse
No announcement yet.

Error Compiling Template

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

    Error Compiling Template

    I am trying to add the header_sequence and footer_sequence items to the SFNT Template of an existing site as outlined in the Upgrading To PageBuilder docs. After assigning the Flex and Sequence items to the Page I attempted to add the
    Item Tags to the Page.

    <mvt:item name="header_sequence" />
    <mvt:item name="footer_sequence" />

    I get the following error:

    [QUOTE]
    Error

    Error compiling template: header_sequence is not in the list of valid items

    /QUOTE]

    fkY8SV.png


    Is this saying I can't use just the header and footer sequences on the SFNT page? If so, that really doesn't work for this particular site. Being able to use just the footer_sequence would have been perfect.
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    For existing stores, those items are not created by default. You have to manually create them or import the XML file here which does it for you:

    https://docs.miva.com/miva10/referen...#header-footer

    New stores created after 10.05.00 was released already has this all done for you.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Originally posted by Brennan View Post
      For existing stores, those items are not created by default. You have to manually create them or import the XML file here which does it for you:

      https://docs.miva.com/miva10/referen...#header-footer

      New stores created after 10.05.00 was released already has this all done for you.
      This part I understood. I have come to find out that you CANNOT use these on the SFNT:

      <mvt:item name="header_sequence" />
      <mvt:item name="footer_sequence" />

      only this can be used

      ​​​​​​<mvt:item name="sequence" />

      For the site I'm trying to integrate PageBuilder into the SFNT this isn't a good option.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        Ahh I see the disconnect. You just need to assign those two items to SFNT first to use them on the page. That is not a default we include in the XML configuration which is why you're seeing that error.

        header_sequence and footer_sequence and "sequence" are all the exact same thing. They are items mapped to the mv-cmp-sequence component module. We just name them differently so it makes logical sense for there they are placed on the page. You can use any of them on any page as long as the items are assigned to the page under the items tab.

        You also could create your own with its own name if it made sense such as sfnt_hero_sequence.

        But all these do is tell Miva where to output the PageBuilder components on the page.
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          Originally posted by Brennan View Post
          Ahh I see the disconnect. You just need to assign those two items to SFNT first to use them on the page. That is not a default we include in the XML configuration which is why you're seeing that error.

          header_sequence and footer_sequence and "sequence" are all the exact same thing. They are items mapped to the mv-cmp-sequence component module. We just name them differently so it makes logical sense for there they are placed on the page. You can use any of them on any page as long as the items are assigned to the page under the items tab.

          You also could create your own with its own name if it made sense such as sfnt_hero_sequence.

          But all these do is tell Miva where to output the PageBuilder components on the page.
          There is an error with the XML file located here https://docs.miva.com/miva10/referen...#header-footer

          It is missing

          Code:
          <Page_Update code="ABUS">
          <Item code="footer_sequence">
          <Title>Page Builder Footer</Title>
          </Item>
          </Page_Update>
          Code:
          <Page_Update code="ABUS">
          <Item code="header_sequence">
          <Title>Page Builder Header</Title>
          </Item>
          </Page_Update>



          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            Thanks, the file has been updated.
            Brennan Heyde
            VP Product
            Miva, Inc.
            [email protected]
            https://www.miva.com

            Comment


              #7
              Originally posted by Brennan View Post

              You also could create your own with its own name if it made sense such as sfnt_hero_sequence.

              But all these do is tell Miva where to output the PageBuilder components on the page.
              I did! I think this may be a path closer to what I'm trying to accomplish - I can now create a couple of places to insert within the existing layout (to replace some of the Theme Components).
              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

              Comment

              Working...
              X