netgen / TagsBundle

Netgen Tags Bundle is an eZ Platform bundle for taxonomy management and easier classification of content, providing more functionality for tagging content than ezkeyword field type included in eZ Platform kernel.
https://netgen.io
GNU General Public License v2.0
48 stars 43 forks source link

fix for #119: Tag route generation in template fails #120

Closed janit closed 4 years ago

janit commented 4 years ago

Path generation works fine with more verbous syntax defining route explicitly + params:

{{ path(tag) }}

vs.

{{ path('eztags_tag_url', {'tagId': tag.id}) }}

emodric commented 4 years ago

Thanks! As I said on your issue, let's see if ez_url and ez_path will help.

janit commented 4 years ago

Thanks! As I said on your issue, let's see if ez_url and ez_path will help.

Yup. Just noticed it after I had sent this. We can close if ez_url and ez_path work ok.

emodric commented 4 years ago

@janit https://github.com/ezsystems/ezpublish-kernel/pull/3000 is merged. Mind testing using ez_url and ez_path Twig functions with tag objects?

emodric commented 4 years ago

You know what, since this is only at one place anyway, I'm gonna merge it and not care about ez_path :)

Thanks @janit!