I have a strange problem, I hope I’m just overlooking something stupid.
This works, I get all the custom fields of category group 9
{exp:weblog:categories weblog="recipes" category_group="9"}
{category_name_fr}
{/exp:weblog:categories}And this is not working, I get all the category_name’s but not the custom fields
{exp:weblog:entries weblog="recipes"}
{title}
<ul>
{categories show_group="9"}
<li>{category_name} - {category_name_fr}</li>
{/categories}
</ul>
{/exp:weblog:entries}I’m using this in a completely different and more complex template, because it wasn’t working I created a test template with just this code to see what was happening.
When I enable queries I see that the custom fields are collected, I just don’t understand why they aren’t showing up.
SELECT c.cat_name, c.cat_url_title, c.cat_id, c.cat_image, c.cat_description, c.parent_id, p.cat_id, p.entry_id, c.group_id , cg.field_html_formatting, fd.* FROM (exp_categories AS c, exp_category_posts AS p) LEFT JOIN exp_category_field_data AS fd ON fd.cat_id = c.cat_id LEFT JOIN exp_category_groups AS cg ON cg.group_id = c.group_id WHERE c.cat_id = p.cat_id AND p.entry_id IN ('561','560','559','558','555','554','550','549','548','546','207','206','205','201','200','178','177','176','175','173','168','167') ORDER BY c.group_id, c.parent_id, c.cat_orderAny ideas?