eZ Community » Forums » Developer » Fetch Content(Article) based on...
expandshrink

Fetch Content(Article) based on keyword ID

Fetch Content(Article) based on keyword ID

Tuesday 04 August 2015 9:07:58 am - 1 reply

Hi,

I'm creating an extension in order to manage keywords(tags). I would like to get all the associated content (article) of any particular tag based on keyword ID instead keyword title (because we have duplicate keyword title). Is there any way to do this?

 

For example instead of setting alphabet in fetch query(https://doc.ez.no/eZ-Publish/Tech...les/content/Fetch-functions/keyword), I would like to give keyword ID, which is not possible in this case.

Thanks,

Rashidul

Modified on Tuesday 04 August 2015 9:09:25 am by Rashidul Islam Rana

Tuesday 04 August 2015 4:37:57 pm

Have you considered the eZ Tags extension?  It has this functionality (https://github.com/ezsystems/eztags/blob/master/doc/USAGE.md#extended-attribute-filters) but also a bunch of additional features that the built-in keywords datatype does not have (https://github.com/ezsystems/eztags/blob/master/README.md).

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from