I don't understand what's happening. I'm using the gwcode categories addon to get the category of and entry id, it works well when the entry id is present:
{exp:gwcode_categories group_id="6" entry_id="22" depth="1"}
{cat_name}
{/exp:gwcode_categories}
But when i use the url_title_to_entry_id plugin there is a problem:
{exp:gwcode_categories group_id="6"
entry_id="{exp:url_title_to_entry_id url_title="{segment_2}"}
parse="inward" depth="1"}
{cat_name}
{/exp:gwcode_categories}
The two categories inside the group name (id=6) are displayed instead of the category associated to the entry.
{exp:url_title_to_entry_id url_title="{segment_2} used alone display the correct entry id , so i don't understand why all the categories inside the group name are displayed. What could be the problem?
Edited:
{exp:url_title_to_entry_id url_title="{segment_2} is not parsing the entry_id, so all the categories are displayed. How to parse a variable entry id, inside the gwcode categories?