thelia / tabs-module
Installs: 498
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 5
Open Issues: 1
Type:thelia-module
Requires
- thelia/installer: ~1.1
README
This module allows you to create content tabs for contents, products, categories & folders
How to install
This module must be into your modules/
directory (thelia/local/modules/).
You can download the .zip file of this module or create a git submodule into your project like this :
cd /path-to-thelia
git submodule add https://github.com/thelia-modules/Tabs.git local/modules/Tabs
Next, go to your Thelia admin panel for module activation.
The loop tags
Parameters
How to use
You can manage your tabs into the "Modules" tab of content and product editing view.
This module allow you to use a new loop : tabs.
Here is an example of using :
Use the tabs loop (list of tabs related to a content id)
{loop name="tabs" type="tabs" source="content" source_id=$ID order="manual_reverse"} <article> <h1>{$TITLE}</h1> <div class="description">{$DESCRIPTION nofilter}</div> </article> {/loop}
Use the tabs loop (list of tabs related to a product id)
{loop name="tabs" type="tabs" source="product" source_id=$ID order="manual_reverse"} <article> <h1>{$TITLE}</h1> <div class="description">{$DESCRIPTION nofilter}</div> </article> {/loop}
Use the tabs loop (list of tabs related to a category id)
{loop name="tabs" type="tabs" source="category" source_id=$ID order="manual_reverse"} <article> <h1>{$TITLE}</h1> <div class="description">{$DESCRIPTION nofilter}</div> </article> {/loop}
Use the tabs loop (list of tabs related to a folder id)
{loop name="tabs" type="tabs" source="folder" source_id=$ID order="manual_reverse"} <article> <h1>{$TITLE}</h1> <div class="description">{$DESCRIPTION nofilter}</div> </article> {/loop}