Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:start:template_features [2016/07/07 17:16] admin [4. Insert of custom functions inside default template fields] |
en:start:template_features [2016/07/07 17:16] admin [4. Insert of custom functions inside default template fields] |
||
---|---|---|---|
Line 72: | Line 72: | ||
${ $date = strtotime($fieldname); $new_date = strtotime($date, "+1 day"); return date("Y-m-D", $new_date); }}> | ${ $date = strtotime($fieldname); $new_date = strtotime($date, "+1 day"); return date("Y-m-D", $new_date); }}> | ||
| | ||
- | //Please note, you have to use the related variable structure of custom functions ($field→module→field) and not the Template structure of variables. ($field (module) field) The Variable chooser do not know this and you need to change the format for yourself. | + | //Please note, you have to use the related variable structure of custom functions ($field→module→field) and not the Template structure of variables. ($field (module) field) The Variable chooser do not know this and you need to change the format for yourself.// |
Other examples I will mention on a separate [[en:start:custom_functions|custom function]] page. | Other examples I will mention on a separate [[en:start:custom_functions|custom function]] page. |