×
This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Non-standard tags implementation
Paul Holmes
New Member
Posts: 1
9 年 6 个月 前 - 9 年 6 个月 前 #802
由 Paul Holmes
Non-standard tags implementation was created by Paul Holmes
Hi,
Are there any plans to use the standard Joomla tags approach to tags in an extension (see docs.joomla.org/J3.x:Using_Tags_in_an_Extension) rather than the custom approach currently taken (i.e. storing tags in a column along with the item itself, in CSV format?)
As far as I know tag relationships (i.e. item <-> tag) should be stored in _contentitem_tag_map rather than inline with the item.
Not using this approach means:
- Can't easily use JOINs to fetch data based on tags
- Incompatible with modules that look for associations in _contentitem_tag_map
- Need to unpack tag values from field after query has run
None of which are particularly great traits.
Cheers,
Paul
Are there any plans to use the standard Joomla tags approach to tags in an extension (see docs.joomla.org/J3.x:Using_Tags_in_an_Extension) rather than the custom approach currently taken (i.e. storing tags in a column along with the item itself, in CSV format?)
As far as I know tag relationships (i.e. item <-> tag) should be stored in _contentitem_tag_map rather than inline with the item.
Not using this approach means:
- Can't easily use JOINs to fetch data based on tags
- Incompatible with modules that look for associations in _contentitem_tag_map
- Need to unpack tag values from field after query has run
None of which are particularly great traits.
Cheers,
Paul
Last edit: 9 年 6 个月 前 by Paul Holmes.
Please 登录 或 注册一个帐号 to join the conversation.
Geir
New Member
Posts: 15
9 年 2 个月 前 #964
由 Geir
Replied by Geir on topic Non-standard tags implementation
I need this as well.
I am making a module to get content articles tag, and match with tagged items in my component to display some of the information.
I am making a module to get content articles tag, and match with tagged items in my component to display some of the information.
Please 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.046秒