Announcement

Collapse
No announcement yet.

Levels ReadyTheme - Importing category tree to populate mega menu?

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

    Levels ReadyTheme - Importing category tree to populate mega menu?

    Is it possible to import category tree data (e.g.: Parent, Child, and Link) to populate new Levels ReadyTheme mega menu?

    We have nearly 300 categories and it would sure make things easier and reduce any possibility of typos.
    Thank you, Bill Davis

    #2
    There isn't a csv import but let me see if these can be imported via XML.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      This is supported via XML provisioning. If you can build an XML file in this format you can import it under Data Managment -> Import XML

      Code:
      <Module code="readytheme" feature="component">
          <NavigationSet_Add>
              <Code>sports</Code>
              <Name>Sport Teams</Name>
              <Description>Test</Description>
              <Layout>Horizontal Drop-Down</Layout>
              <Items>
                  <Item>
                      <Active>true</Active>
                      <Name>MLB</Name>
                      <Link type="URL" target="_blank">http://www.mlb.com</Link>
                      <SubItems>
                          <Item>
                              <Name>American League</Name>
                              <Link type="Category">american_league</Link>
                              <SubItems>
                                  <Item>
                                      <Name>Los Angeles Angels</Name>
                                  </Item>
                                  <Item>
                                      <Name>Oakland Athletics</Name>
                                  </Item>
                                  <Item>
                                      <Name>...</Name>
                                  </Item>
                              </SubItems>
                          </Item>
                          <Item>
                              <Name>National League</Name>
                              <SubItems>
                                  <Item>
                                      <Name>Los Angeles Dodgers</Name>
                                  </Item>
                                  <Item>
                                      <Name>San Diego Padres</Name>
                                  </Item>
                                  <Item>
                                      <Name>...</Name>
                                  </Item>
                              </SubItems>
                          </Item>
                      </SubItems>
                  </Item>
                  <Item>
                      <Name>NFL</Name>
                      <Link type="URL" target="_blank">http://www.nfl.com</Link>
                      <SubItems>
                          <Item>
                              <Name>AFC</Name>
                              <SubItems>
                                  <Item>
                                      <Name>San Diego Chargers</Name>
                                  </Item>
                                  <Item>
                                      <Name>New England Patriots</Name>
                                  </Item>
                                  <Item>
                                      <Name>...</Name>
                                  </Item>
                              </SubItems>
                          </Item>
                          <Item>
                              <Name>NFC</Name>
                              <SubItems>
                                  <Item>
                                      <Name>San Fransisco 49ers</Name>
                                  </Item>
                                  <Item>
                                      <Name>Green Bay Packers</Name>
                                  </Item>
                                  <Item>
                                      <Name>...</Name>
                                  </Item>
                              </SubItems>
                          </Item>
                      </SubItems>
                  </Item>
                  <Item>
                      <Active>false</Active>
                      <Name>Disabled</Name>
                  </Item>
              </Items>
          </NavigationSet_Add>
       
      </Module>
      Brennan Heyde
      VP Product
      Miva, Inc.
      [email protected]
      https://www.miva.com

      Comment


        #4
        Trying to figure out a way to export from MM4.24c.
        Thank you, Bill Davis

        Comment


          #5
          Originally posted by Brennan View Post
          This is supported via XML provisioning. If you can build an XML file in this format you can import it under Data Managment -> Import XML

          Code:
          <Module code="readytheme" feature="component">
          <NavigationSet_Add>
          <Code>sports</Code>
          <Name>Sport Teams</Name>
          <Description>Test</Description>
          <Layout>Horizontal Drop-Down</Layout>
          <Items>
          <Item>
          <Active>true</Active>
          <Name>MLB</Name>
          <Link type="URL" target="_blank">http://www.mlb.com</Link>
          <SubItems>
          <Item>
          <Name>American League</Name>
          <Link type="Category">american_league</Link>
          <SubItems>
          <Item>
          <Name>Los Angeles Angels</Name>
          </Item>
          <Item>
          <Name>Oakland Athletics</Name>
          </Item>
          <Item>
          <Name>...</Name>
          </Item>
          </SubItems>
          </Item>
          <Item>
          <Name>National League</Name>
          <SubItems>
          <Item>
          <Name>Los Angeles Dodgers</Name>
          </Item>
          <Item>
          <Name>San Diego Padres</Name>
          </Item>
          <Item>
          <Name>...</Name>
          </Item>
          </SubItems>
          </Item>
          </SubItems>
          </Item>
          <Item>
          <Name>NFL</Name>
          <Link type="URL" target="_blank">http://www.nfl.com</Link>
          <SubItems>
          <Item>
          <Name>AFC</Name>
          <SubItems>
          <Item>
          <Name>San Diego Chargers</Name>
          </Item>
          <Item>
          <Name>New England Patriots</Name>
          </Item>
          <Item>
          <Name>...</Name>
          </Item>
          </SubItems>
          </Item>
          <Item>
          <Name>NFC</Name>
          <SubItems>
          <Item>
          <Name>San Fransisco 49ers</Name>
          </Item>
          <Item>
          <Name>Green Bay Packers</Name>
          </Item>
          <Item>
          <Name>...</Name>
          </Item>
          </SubItems>
          </Item>
          </SubItems>
          </Item>
          <Item>
          <Active>false</Active>
          <Name>Disabled</Name>
          </Item>
          </Items>
          </NavigationSet_Add>
          
          </Module>
          Brennan, is there a way to export this data from an MM4.24c store? I'm being eaten alive in fees!
          Thank you, Bill Davis

          Comment

          Working...
          X