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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user