1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Experimental Feature: Page/Menu custom fields. Enable debug to experiment. Usage: {CPAGEFIELD: name=xxxxx} where 'name' is the field name. Currently only functions in edit mode when the chapter is already set.

This commit is contained in:
Cameron
2017-01-18 17:10:12 -08:00
parent 63cdef8796
commit 4b443bc2c8
6 changed files with 318 additions and 15 deletions

View File

@@ -2659,6 +2659,10 @@ class e_front_model extends e_model
return $tp->toDB($value);
break;
case 'json':
return e107::serialize($value,'json');
break;
case 'code':
return $tp->toDB($value, false, false, 'pReFs');
break;