hi, I have this code which is attempting to store a structure I have built up.
<mvt:item name="customfields" param="Write_Category_Code( 'homepage-highlights-large', 'homereviews', miva_array_serialize(l.settings:homereviews:review s) )" />
Then on another page, I'm attempting to read that field back in and use it, but I don't get anything:
<mvt:item name="customfields" param="Read_Category_Code( 'homepage-highlights-large', 'homereviews', miva_array_deserialize( l.settings:homereviews:reviews) )" />
when I look at the field in the database, I'm not able to edit the value from the list view UI like other records (see attached, last record).
When I view the record, data gets assigned to value_long, instead of the default "value", and I can see the structure there. The data that's getting stored in this record is somewhat large, but doesn't come close to exceeding mySQLs limit for mediumText, which is what value_long is set to. Am I doing something wrong? Can you not store arrays in custom fields, in this case a category field?Screen Shot 2018-11-19 at 11.50.57 AM.png
<mvt:item name="customfields" param="Write_Category_Code( 'homepage-highlights-large', 'homereviews', miva_array_serialize(l.settings:homereviews:review s) )" />
Then on another page, I'm attempting to read that field back in and use it, but I don't get anything:
<mvt:item name="customfields" param="Read_Category_Code( 'homepage-highlights-large', 'homereviews', miva_array_deserialize( l.settings:homereviews:reviews) )" />
when I look at the field in the database, I'm not able to edit the value from the list view UI like other records (see attached, last record).
When I view the record, data gets assigned to value_long, instead of the default "value", and I can see the structure there. The data that's getting stored in this record is somewhat large, but doesn't come close to exceeding mySQLs limit for mediumText, which is what value_long is set to. Am I doing something wrong? Can you not store arrays in custom fields, in this case a category field?Screen Shot 2018-11-19 at 11.50.57 AM.png
Comment