Announcement

Collapse
No announcement yet.

Exporting and Importing Navigation Sets

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

    Exporting and Importing Navigation Sets

    Is there a way to export and import Navigation Sets?
    Thank you, Bill Davis

    #2
    Hi Bill,

    There isn't currently an export function. 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


      #3
      Perhaps not for most, but that solution is way too complicates for me. I would have imaged there would have been a simpler solution for this by now with so many ReadyThemes and some of them no longer being supported. I'm guessing it's probably not an issue for most due to few number of categories -in our case it's over 300.

      Is it possible to export that data using old man Weiland's Template Data Feed module?
      Thank you, Bill Davis

      Comment

      Working...
      X