Find solution

How Can I Create an XML to Create a Menu?

Check our answers to ‘How Can I Create an XML to Create a Menu?’ - we found 39 replies and comments relevant to this matter. The best answers are submitted by users of Drupal Answers, Ask.Metafilter.Com and Quora.

Best solution

  • How to create a PHP file that returns a list of nodes as XML?

    How do I create a PHP file that returns a list of nodes as XML when called if I have a menu structure like this: <GalleryXML> --gallery 1 ---Item 1 ---Item 2 ---Item 3 And I want a url like localhost/getgallery.php this url will then return my gallery as xml, something like this <galleryXML> <gallery name="gallery1"> <item name="item1"> <image>localhost/site/default/image1</image> <imagethumb>localhost/site/default/image1</imagethumb...

    Answer:

    This is what i did: I created a view. Changed the style to XML data document (Need to download the Views...

    Mark as irrelevant Undo

Other solutions