23478 Posts in 18941 Topics by 2878 members
|Go to End|
11 December 2009 at 12:07pm Last edited: 11 December 2009 12:10pm
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
14 December 2009 at 9:55am
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.
|Go to Top|