ride / web-template-smarty-asset
Smarty template integration for the asset library of the Ride framework
Installs: 3 362
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 11
Forks: 0
Open Issues: 0
pkg:composer/ride/web-template-smarty-asset
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: 2025-10-13 02:19:26 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