MODX Cloud

The Most Productive MODX Learning Playground Ever

Claim Free Lab Account

Label: template-variable

All content with label template-variable.
Related Labels: directory, binding, variable, chunk, template, document, bindings, tag, tv

Page: (at)CHUNK (MODx 0.9.6)
64;CHUNK @CHUNK Bindings Syntax @CHUNK chunkname Binds the variable to a document. Where chunkname is the name of the chunk. The returned value is a string containing the content of the chunk. This binding is very similar to the @DOCUMENT binding with the exception that it will bind the TV to a chunk (or htmlsnippet ...
Other labels: bindings, chunk
Page: (at)CHUNK (MODx Evolution 1.0)
64;CHUNK @CHUNK Bindings Syntax @CHUNK chunkname Binds the variable to a document. Where chunkname is the name of the chunk. The returned value is a string containing the content of the chunk. This binding is very similar to the @DOCUMENT binding with the exception that it will bind the TV to a chunk (or htmlsnippet ...
Other labels: bindings, chunk
Page: (at)DIRECTORY (MODx 0.9.6)
64;DIRECTORY @DIRECTORY Bindings @DIRECTORY pathtofolder Binds the variable to a folder, where pathtofolder is the path to the folder, read from the document root of the site (not the root of the server). It returns a list of ALL files in the specified folder filtering by file type (e.g. ...
Other labels: bindings, directory
Page: (at)DIRECTORY (MODx Evolution 1.0)
64;DIRECTORY @DIRECTORY Bindings @DIRECTORY pathtofolder Binds the variable to a folder, where pathtofolder is the path to the folder. It returns the list of files in the specified folder
Other labels: bindings, directory
Page: (at)DOCUMENT (MODx Evolution 1.0)
64;DOCUMENT
Other labels: bindings
Page: (at)DOCUMENT (MODx 0.9.6)
64;DOCUMENT
Other labels: bindings
Page: (at)EVAL (MODx Evolution 1.0)
64;EVAL @EVAL Bindings Syntax @EVAL phpcode Evaluates a string of php codes and process the returned value from the code. Where phpcode is the actual php code to be evaluated. The returned value can be either a string, array or a recordset. @EVAL ...
Other labels: binding
Page: (at)EVAL (MODx 0.9.6)
64;EVAL @EVAL Bindings Syntax @EVAL phpcode Evaluates a string of php codes and process the returned value from the code. Where phpcode is the actual php code to be evaluated. The returned value can be either a string, array or a recordset. @EVAL ...
Other labels: binding
Page: (at)INHERIT (MODx Evolution 1.0)
64;INHERIT
Other labels: bindings
Page: (at)INHERIT (MODx 0.9.6)
64;INHERIT
Other labels: bindings