×
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 år 6 månader sedan - 9 år 6 månader sedan #802
av Paul Holmes
Non-standard tags implementation skapades av 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 år 6 månader sedan by Paul Holmes.
Be Logga in eller Skapa ett konto ansluta till konversationen.
Geir
New Member
Posts: 15
9 år 2 månader sedan #964
av Geir
Svar från Geir i ämnet 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.
Be Logga in eller Skapa ett konto ansluta till konversationen.
Sidan laddades på: 0.049 sekunder