GPTEngine logo

GPTEngine End User Documentation

<prev | up | next>

CMS Snippet System

In order to efficiently bring dynamic content via CMS, GPTEngine makes use of a built-in snippets system.
Snippets are small pieces of reusable code that output dynamic information or execute a run-time specific task.

For example, a piece of content setup like this on CMS:

Your IP address is: [?_ip_address_?]

Should be rendered on your website as something like:

Your IP address is: 64.121.1.13

GPTEngine snippet format is [?_snippet_name(arg1;arg2;...)_?].

Please note that:

GPTEngine snippets may be entered/edited in the CMS editor by direct typing or by clicking on the icon (snippets may be also used in the template source).

Take care of not abusing the snippet usage to avoid performance degradation.

For a list of available GPTEngine snippets, refer to the snippets reference.

© 2015 by popux. All rights reserved.