XMLDB Saving

XMLDB Saving

by Pedro Parreira -
Number of replies: 2
Hi.
I want to make some changes to a particular table on an activity module.
I used XMLDB -> Load -> Edit, then I make the changes to the table: removing two fields and adding other two fields. But when I go back, I don't get the Save option enabled, just the Edit one.
Any idea what might be happening here? Thanks in advance.[Load]
Average of ratings: -
In reply to Pedro Parreira

Re: XMLDB Saving

by sam marshall -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
If you can't be arsed to fix the webserver permissions, another option is to choose 'View Edited' in xmldb editor; you should see the xml. View source of that in your web browser, copy it into clipboard, and paste into the real file using your favourite editor.

However you change it, in case you're not familiar with install.xml, do note that changing this file won't change the table right away, only in fresh installs - you will need to uninstall (deleting all data) and reinstall the module for that to work with install.xml.

--sam