ride / web-template-smarty-cms
Smarty template integration for the CMS of the Ride framework
Installs: 1 417
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 0
Open Issues: 0
Requires
- ride/app: ^1.0.0
- ride/app-template: ^1.0.0
- ride/app-template-smarty: ^2.0.0
- ride/lib-cms: ^1.0.0
- ride/web-cms: ^1.0.0
This package is auto-updated.
Last update: 2024-10-19 14:10:19 UTC
README
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.
{content type="News" data=$newsEntry var="newsContent"}
Modifiers
text
Parses relative URL's into absolute ones and replaces all known variables between [[ and ]] into their value.
{"Copyright © 1999-[[year]]"|text}
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.
composer require ride/web-template-smarty-cms