×
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
pred 9 rokmi 6 mesiacmi - pred 9 rokmi 6 mesiacmi #802
od Paul Holmes
Non-standard tags implementation bolo vytvorené 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
Posledný krát upravené:pred 9 rokmi 6 mesiacmi Paul Holmes
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Geir
New Member
Posts: 15
pred 9 rokmi 2 mesiacmi #964
od Geir
Odpoveď od Geir na tému 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.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Čas vytvorenia stránky: 0.048 sekúnd