Announcement

Collapse
No announcement yet.

Possible to Import Navigation Set Vertical Fly Out Menu and its Items

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

    Possible to Import Navigation Set Vertical Fly Out Menu and its Items

    Hello There,

    I have lot of parent and child categories and was wondering if there is a way to create a csv and import Navigation Set vertical fly out menu.

    Thanks
    Keyboard Not Found..... Press F1 to continue

    #2
    In a ready theme I assume?
    Thanks,

    Rick Wilson
    CEO
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Thanks for replying and yes its the Levels Ready Theme
      Keyboard Not Found..... Press F1 to continue

      Comment


        #4
        Unfortunately, there isn't a CSV import available for a ReadyTheme Navigation Set. However, you can import them via XML provisioning. If you build an XML file using this format, you can import it under Data Management -> 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>
        Matt Zimmermann

        Miva Web Developer
        Alchemy Web Development
        https://www.alchemywebdev.com
        Site Development - Maintenance - Consultation

        Miva Certified Developer
        Miva Professional Developer

        https://www.dev4web.net | Twitter

        Comment


          #5
          Thanks again, I can easily create the xml file. The example you have given is for horizontal drop menu sir but I am looking for a vertical fly out menu. What would be sample code for that.

          Appreciate it
          Keyboard Not Found..... Press F1 to continue

          Comment


            #6
            Change the Layout code to Vertical Fly-Out
            Matt Zimmermann

            Miva Web Developer
            Alchemy Web Development
            https://www.alchemywebdev.com
            Site Development - Maintenance - Consultation

            Miva Certified Developer
            Miva Professional Developer

            https://www.dev4web.net | Twitter

            Comment


              #7
              Caution: Double check import data once finished, we experienced many inaccuracies in our particular case when we tried it about two years ago when we migrated from MM4.24c to M9.+
              Thank you, Bill Davis

              Comment

              Working...
              X