We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Products
Revo Discussions & Support
Revolution 2.0
Search
Default value for properties field
1,717 Posts
coroico
Reply #1,
16 years, 3 months ago
I manually migrate some tables from Evo 1.0.2 to Revolution.
site_htmlsnippets and site_templates have a new field "properties" defined as text:
`properties` text,
But what is the default value ? ’’ or ’a:0:{}’ ? or the both are valid ?
MODX Staff
10,725 Posts
opengeek
Reply #2,
16 years, 3 months ago
You need to set the new properties with the Revolution API and it will set the format for you. Default is null.
Jason Coward
Chief Architect @ MODX
http://www.jasoncoward.com
|
http://twitter.com/drumshaman
|
https://github.com/opengeek