Is there any way to output the navigation structure of the nav from MODX ?
I’m thinking possibly to XML. I am trying to synchronise the CMS backend to work with
a dynamic flash menu
The way I see it is that I would structure my flash nav to pick up the navigation output.
What are your thoughts?
-
MODX Staff
- 12,272 Posts
That’s a great idea... this would make integration with Flash sites one step easier.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
This should be very easy to do with a snippet. You should be able to convert a basic menu snippet to handle XML.
Thanks for your feedback guys...
I like this concept because it gives MODX a whole new grasp and reach.
I’m also happy to hear that it’s not too tricky.
How would I go about converting the menu snippet to handle XML,
After it has been converted how would you output it?
Or where would I connect the flash to?
I know my flash, but my PHP is still tender.
-
☆ A M B ☆
- 24,524 Posts
The menu snippets mostly generate <ul> and <li> tags. It should not be difficult to change those tags to whatever xml tags you want.