×
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 năm 7 tháng trước - 9 năm 7 tháng trước #802
bởi 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 năm 7 tháng trước by Paul Holmes.
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
Geir
New Member
Posts: 15
9 năm 3 tháng trước #964
bởi 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.
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
Thời gian tải trang: 0.051 giây