Download the PHP package ride/web-template-smarty-cms without Composer
On this page you can find all versions of the php package ride/web-template-smarty-cms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ride/web-template-smarty-cms
More information about ride/web-template-smarty-cms
Files in ride/web-template-smarty-cms
Download ride/web-template-smarty-cms
More information about ride/web-template-smarty-cms
Files in ride/web-template-smarty-cms
Vendor ride
Package web-template-smarty-cms
Short Description Smarty template integration for the CMS of the Ride framework
License MIT
Package web-template-smarty-cms
Short Description Smarty template integration for the CMS of the Ride framework
License MIT
Please rate this library. Is it a good library?
Informations about the package web-template-smarty-cms
Ride: Template (Smarty)
This module adds Smarty functions and modifiers for the CMS of a Ride application.
Functions
content
Returns the URL of a content object or the full Content instance when requested in a variable.
| Parameter | Type | Description |
|---|---|---|
| type | string | Name of the content type |
| data | mixed | Actual data or entry, can be an id when using the ORM |
| locale | string | Code of the locale, if omitted, the current locale is used (optional) |
| site | string | Id of the site, if omitted, the current site is used (optional) |
| var | String | Variable name to assign the content instance to (optional) |
Modifiers
text
Parses relative URL's into absolute ones and replaces all known variables between [[ and ]] into their value.
| Parameter | Type | Description |
|---|---|---|
| String | Text to parse |
Check the readme of the available variables.
Related Modules
- ride/app
- ride/app-template
- ride/app-template-smarty
- ride/lib-cms
- ride/lib-template
- ride/lib-template-smarty
- ride/web
- ride/web-cms
- ride/web-template
Installation
You can use Composer to install this module.
All versions of web-template-smarty-cms with dependencies
PHP Build Version
Package Version
Requires
ride/app Version
^1.0.0
ride/app-template Version ^1.0.0
ride/app-template-smarty Version ^2.0.0
ride/lib-cms Version ^1.0.0
ride/web-cms Version ^1.0.0
ride/app-template Version ^1.0.0
ride/app-template-smarty Version ^2.0.0
ride/lib-cms Version ^1.0.0
ride/web-cms Version ^1.0.0
The package ride/web-template-smarty-cms contains the following files
Loading the files please wait ...