Download the PHP package thelia/keyword-module without Composer
On this page you can find all versions of the php package thelia/keyword-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thelia/keyword-module
More information about thelia/keyword-module
Files in thelia/keyword-module
Package keyword-module
Short Description Associate contents, folders, categories and products to one or more keywords
License LGPL-3.0+
Informations about the package keyword-module
Module Keyword Thelia 2
This module is used to associate category, product, content or folders to one or more keywords. This allows you for example to display items based on a particular keyword or structure your page with a tag system.
How to install
This module must be into your directory (thelia/local/modules/).
You can download the .zip file of this module or create a git submodule into your project like this :
Next, go to your Thelia admin panel for module activation.
How to use
You can manage your keywords on the configuration view of the module with the "configure" button on the modules list.
To associate one or more keywords to a content or a folder, go to tab "Modules" of content or folder editing view.
This module allow you to use 6 new loops : keyword_category, keyword_product, keyword_content, keyword_folder, keyword_group and keyword.
Since v3.1.0 you can use classic loops (category, product, content, folder) with the argument "keyword" to filter the results (and keyword_match_mode
: exact
or partial
).
Ex :
Here is an example of using each :
Use the keyword_category loop (list of categories related to the "my_keyword" keyword)
Use the keyword_product loop (list of products related to the "my_keyword" keyword)
Use the keyword_content loop (list of contents related to the "my_keyword" keyword)
Use the keyword_folder loop (list of folders related to the "my_keyword" keyword)
Use the keyword_category loop (list of categories related to the "my_keyword" keyword)
Use the keyword_product loop (list of products related to the "my_keyword" keyword)
Use the keyword loop (list all keywords that are visible)
Use the keyword group loop (list all keyword groups that are visible)
You can also check the association between a keyword and a category, a product, a folder or a content by using Smarty extension available in the latest version of this plugin :
__Check if thelia object is associated with keyword "my_keyword"__