Jump to:

23581 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » XML and SS

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 715 Views
  • Webdoc
    Community Member
    332 Posts

    XML and SS Link to this post

    Is there any way possible do edit xml data file via cms??
    So that it shows the file content in cms and you can edit and save it

  • tobych
    Community Member
    97 Posts

    Re: XML and SS Link to this post

    I don't think there's anything like this included in SS.

    The solution would depend on your particular situation, of course, but one option might be to store the content of the XML file in a TextareaField, and to overload doPublish() for the class so it copies the contents out to a file. SilverStripe's "Error Page" type works similarly: see the method doPublish in sapphire/core/model/ErrorPage.php.


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.