ride / web-template-smarty-asset
Smarty template integration for the asset library of the Ride framework
Package info
github.com/all-ride/ride-web-template-smarty-asset
pkg:composer/ride/web-template-smarty-asset
1.0.0
2016-10-14 15:52 UTC
Requires
- ride/app: ^1.0.0
- ride/app-orm: ^1.0.0
- ride/app-orm-asset: ^1.0.0
- ride/wba-assets: ^1.0.0
- ride/web-image: ^1.0.0
- ride/web-template-smarty: ^1.0.0
This package is auto-updated.
Last update: 2026-03-13 03:07:33 UTC
README
Smarty plugins for the Ride framework, used to render assets from the ORM.
Code Sample
asset
Function to render an asset
| Parameter | Type | Description |
|---|---|---|
| src | string | AssetEntry |
| style | string | Machine name of the style (optional) |
| var | string | Variable to assign the result to |
{asset src=15 style="thumbnail"}
Related Modules
- ride/app
- ride/app-image
- ride/app-template
- ride/app-template-smarty
- ride/lib-image
- ride/lib-template
- ride/lib-template-smarty
- ride/wba-assets
- ride/web
- ride/web-image
- ride/web-template
- ride/web-template-smarty
Installation
You can use Composer to install this application.
composer require ride/web-template-smarty-asset