Auto import section editors upon installation of CMS Builder

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 20, 2014   (RSS)

By Daryl - January 3, 2014 - edited: January 3, 2014

Hi Zick,

Yes, you can import a section from an old website to another by copy-pasting the section's schema file located in cmsAdmin\data\schema\ .

The filename of a schema file is formatted like section_table_name.ini.php. For example, if you want to import the members section from your old site, copy the cmsAdmin\data\schema\members.ini.php to your to-be-installed CMS Builder folder cmsAdmin\data\schema\.

You can also copy-paste the schema file after you installed the new CMS Builder. And after you copied it, make sure to visit the Admin > Section Editors so that it will create a database table for the imported section.

Let us know if this works for you.

Thanks,

Daryl Maximo
PHP Programmer - interactivetools.com

By Mikey - January 3, 2014

Thanks Daryl,

I look forward to giving this a try. I've often wondered if this could be done, but never followed through nor inquired until now.

By Mikey - February 20, 2014

Hey Daryl,

So I performed an install this evening - with section record files placed in the data/schema/  directory.... worked like a charm!

Thanks for the guidance, this is going to save me a ton of time going forward.

Zick