NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms_replacer_rts:frontend_render:date-enhanced [2011/08/09 14:42] Knut Heermann (flip-flop) created |
english:phpwcms_replacer_rts:frontend_render:date-enhanced [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| **RT to create your own output of the date, independently of the system-TAGs. [[http://www.phpwcms-docu.de/system_tags.phtml|Date TAGs]].** | **RT to create your own output of the date, independently of the system-TAGs. [[http://www.phpwcms-docu.de/system_tags.phtml|Date TAGs]].** | ||
| - | E.g. a solution to set the current copyright date //(year)// automaticaly. | + | E.g. a solution to set the current copyright date //(year)// automatically. |
| + | |||
| + | The output format of the date is set directly in the script. | ||
| Line 28: | Line 30: | ||
| TAG: **{DATEX_xxx}**, e.g. **{DATEX_YEAR}** \\ | TAG: **{DATEX_xxx}**, e.g. **{DATEX_YEAR}** \\ | ||
| - | Filename: **rt_date_enhanced.php** | + | Filename: **rt_date_enhancedX.php** |
| Folder: ** template/inc_script/frontend_render/ ** | Folder: ** template/inc_script/frontend_render/ ** | ||
| - | **Condition:** -> [[http://www.phpwcms-docu.de/conf_inc_php_en.phtml|/config/phpwcms/conf.inc.php] \\ | + | **Condition:** -> [[http://www.phpwcms-docu.de/conf_inc_php_en.phtml|/config/phpwcms/conf.inc.php]] \\ |
| * ##$phpwcms['allow_ext_render'] = 1;## | * ##$phpwcms['allow_ext_render'] = 1;## | ||
| Line 48: | Line 50: | ||
| Settings in the replacer lines: | Settings in the replacer lines: | ||
| - | * **Z.B.** | + | * **E.g.** |
| - | * - {DATEX_YEAR} = 'Y' -- Gibt das Jahr aus | + | * - {DATEX_YEAR} = 'Y' -- Returns the year |
| - | * - {DATEX_MONTH} = 'm' -- Gibt den Monat zweistellig numerisch aus | + | * - {DATEX_MONTH} = 'm' -- Returns the month formated in double-digit numeric |
| - | * - {DATEX_DAY} = 'd' -- Gibt den Tag zweistellig nummerisch aus | + | * - {DATEX_DAY} = 'd' -- Returns the day formted in double-digit numeric |
| You can install separate TAGs with other substitutions. | You can install separate TAGs with other substitutions. | ||
| \\ | \\ | ||
| Line 60: | Line 61: | ||
| ===== Script: ===== | ===== Script: ===== | ||
| - | Filename: rt_date_last_update.php \\ | + | Filename: rt_date_enhancedX.php \\ |
| Folder: template/inc_script/frontend_render/ | Folder: template/inc_script/frontend_render/ | ||
| Line 91: | Line 92: | ||
| - | http://www.phpwcms-docu.de/system_tags.phtml | ||