Skip to content

Commit 7bece9b

Browse files
committed
New version of the plugin
1 parent 4a1b4b3 commit 7bece9b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Config/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<descriptive locale="en_US">
88
<title>Keyword</title>
99
</descriptive>
10-
<version>2.0.2</version>
10+
<version>2.1.0</version>
1111
<author>
1212
<name>Michaël Espeche</name>
1313
<email>mespeche@openstudio.fr</email>

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,16 @@ __Use the keyword group loop (list all keyword groups that are visible)__
8080
{loop name="keyword_group_list" type="keyword_group" visible="*" order="manual" backend_context="1" lang=$lang_id}
8181
...
8282
{/loop}
83+
```
84+
---
85+
*****
86+
87+
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 :
88+
89+
__Check if thelia object is associated with keyword "my_keyword"__
90+
```html
91+
{category_has_keyword category_id=$ID keyword_code="my_keyword"} {* return true/false if relation exist or not *}
92+
{product_has_keyword product_id=$ID keyword_code="my_keyword"}
93+
{folder_has_keyword folder_id=$ID keyword_code="my_keyword"}
94+
{content_has_keyword content_id=$ID keyword_code="my_keyword"}
8395
```

0 commit comments

Comments
 (0)