Minor bug in News category and suggestion for improvement
Posted: Fri May 19, 2017 9:44 am
I do not show a list of categories but I call them by their name.
If I use national alphabet characters such as "Personální" in category name, then {News category="Personální"} correctly displays the news from this category, but the category name is misspelled. {$category_label} in the template returns "Personální".
If I find the category ID, then I use {News category_id="7"} so the category label is displayed in order.
I have suggestions for minor improvement. Can you pop up the News category ID in the admin interface - Settings - News module, to be easily found?
It is better to use {News category_id=} than category=, because the category name can be changed but the ID is not.
If I use national alphabet characters such as "Personální" in category name, then {News category="Personální"} correctly displays the news from this category, but the category name is misspelled. {$category_label} in the template returns "Personální".
If I find the category ID, then I use {News category_id="7"} so the category label is displayed in order.
I have suggestions for minor improvement. Can you pop up the News category ID in the admin interface - Settings - News module, to be easily found?
It is better to use {News category_id=} than category=, because the category name can be changed but the ID is not.