-
Notifications
You must be signed in to change notification settings - Fork 1
kitCommands
The TemplateTools are also providing a couple of kitCommands for the usage within the WYSIWYG editor and also within Add-ons of your Content Management System. kitCommands are like Droplets but smarter and more powerful.
The TemplateTools will install the following kitCommands:
~~ cms_modified_by ~~~~ cms_modified_when ~~~~ google_map ~~~~ page_modified_by ~~~~ page_modified_when ~~~~ wysiwyg_content ~~
This kitCommand will return the displayname of the user who has last changed any page in the Content Management System (CMS), i.e.:
Ralf Hertsch
Please use
~~ cms_modified_by help[] ~~
to view the helpfile for ~~ cms_modified_by ~~ and get more information about the usage and supported parameters.
This kitCommand will return a formatted and localized date/time stamp for the last change of any page in the Content Management System (CMS), i.e.:
2014-05-16 13:02 a
in English language or
16.05.2014 13:02
in German language.
Please use
~~ cms_modified_when help[] ~~
to view the helpfile for ~~ cms_modified_when ~~ and get more information for the usage and supported parameters.
This kitCommand will show a Google Map for the given location.
Please use
~~ google_map help[] ~~
to view the helpfile for ~~ google_map ~~ and get more information for the usage and supported parameters.
This kitCommand will return the displayname of the user who has last changed the current page, i.e.
Ralf Hertsch
Please use
~~ page_modified_by help[] ~~
to view the helpfile for ~~ page_modified_by ~~ and get more information about the usage and supported parameters.
This kitCommand will return a formatted and localized date/time stamp for the current page, i.e.:
2014-05-16 13:02 a
for a page in English language or
16.05.2014 13:02
for a page in German language (specified in the page settings).
Please use
~~ page_modified_when help[] ~~
to view the helpfile for ~~ page_modified_when ~~ and get more information for the usage and supported parameters.
This kitCommand will return the WYSIWYG content for the given SECTION_ID:
~~ wysiwyg_content section_id[189] ~~
You can find the SECTION_ID at the top of the editor for the WYSIWYG section:

use the kitCommand to show the content of this section at any other page:

Please use
~~ wysiwyg_content help[] ~~
to view the helpfile for ~~ wysiwyg_content ~~ and get more information for the usage and supported parameters.
- If you spot a typo or want to contribute an article, a how-to or a tip, feel free to edit the Wiki directly
- If you you have any questions, please visit the phpManufaktur Support Forum
This Documentation is part of the kitFramework Project
© 2014 by phpManufaktur, kitFramework and TemplateTools are published under MIT license.