thelia / view-module
Installs: 205
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 2
Open Issues: 1
Type:thelia-module
Requires
- thelia/installer: ~1.1
This package is auto-updated.
Last update: 2024-11-25 02:47:49 UTC
README
Using this module, you can select a specific view for any category, product, folder or content.
Installation
composer require thelia/view-module:~2.0.1
Activate the module and go to the "Modules" tab of any category, product, folder or content configuration page.
The loop view
Get the specific view of an object and the specific views of its sub-elements.
Parameters
Output variables
Example
{loop type="view" name="my-specific-view" source="content" source_id=11}...{/loop}
The loop frontfiles
Return all the front office templates and their path.
Parameters
This loop have no parameters
Output variables
Example
{loop type="frontfile" name="my-fo-template"}...{/loop}
The loop frontview
Return view of an object if the object have a specific view.
Parameters
Output variables
Example
{loop type="frontview" name="my-frontview-loop" source="category" source_id=11 }...{/loop}