numero2 / contao-tags

Adds the possibility to assign tags to individual elements.
GNU Lesser General Public License v3.0
1 stars 3 forks source link

Compatibility witch Contao News Categories extension #15

Closed biowebfr closed 2 weeks ago

biowebfr commented 1 month ago

Hi!

I tried to use this extension with this one https://github.com/codefog/contao-news_categories/ but when I filter tags it doesn't keep the categorie url I'm focused on.

/actualites/categorie/categorie-1 is replaced by /actualites/tag/WyJDZWNpIGVzdCBsZSB0YWcgMSJd

image

I imagine something like this : /actualites/categorie/categorie-1/tag/WyJDZWNpIGVzdCBsZSB0YWcgMSJd

So do you think those two excellent extensions could be compatible or is it just a dream that will never comme true ? :)

Thank you for your time.

bennyborn commented 1 month ago

Unfortunately this won't be possible due to the nature of how Contao's newsListFetchItems and newsListCountItems Hooks work. These Hooks do not build on each other but each Hook has its own result. So whatever extension comes last will dictate which news entries will be shown.

biowebfr commented 1 month ago

Ok, thank you for your explanations. :) I'll make some choice then :)