Re-Ordering Schema file contents outside of CMSB

6 posts by 3 authors in: Forums > CMS Builder
Last Post: October 20, 2011   (RSS)

Re: [Pixels & Beats] Re-Ordering Schema file contents outside of CMSB

By robin - October 19, 2011

Hey Paul,

Yes it's ok to modify schema files. But this is all at your own risk so make sure you backup everything first!

After you've edited the schema file, make sure to click to the "Section Editors" screen in CMS Builder. That will cause CMS Builder to rescan the schema files and make the changes to the system.

Hope that helps,
Robin
Robin
Programmer
interactivetools.com

Re: [robin] Re-Ordering Schema file contents outside of CMSB

By gadefgaertgqe - October 20, 2011

Hi Robin,

Thanks for confirming! Out of curiosity, if I was to erase an item from the schema file, would CMSB erase the entry from the database when it rescans the schema file. Or would the entry in the database remain?

Thanks again :)

Paul

Re: [Pixels & Beats] Re-Ordering Schema file contents outside of CMSB

By InHouse - October 20, 2011

We do something like this regularly in order to quickly set up sites with common elements.

Re: [Pixels & Beats] Re-Ordering Schema file contents outside of CMSB

By robin - October 20, 2011

Hey Paul,

If you manually remove an entry from a schema file CMS Builder will not remove the column from the database table. Of course, this is undocumented behavior and shouldn't be relied upon.
And just to clarify for anyone reading this post, removing a column from a CMS Builder section editor does remove the database column.

Hope that helps,
Robin
Robin
Programmer
interactivetools.com

Re: [robin] Re-Ordering Schema file contents outside of CMSB

By gadefgaertgqe - October 20, 2011

That's what I thought but no harm in asking ;)

Thanks for clarifying Robin!