help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

meta tags in a component don't work

meta tags in a component don't work

8 years 2 months ago
#22619
This specified in a subcategory aren't displayed in a code. There description and keywords of the top category is displayed


Here fkinform.ru/seminary-i-konferentsii/kreditnym-uchrezhdeniyam meta tags main category fkinform.ru/seminary-i-konferentsii

It turns out that at all subcategories meta data of the main category. How to make each category the meta data

Attachments:

Please Log in or Create an account to join the conversation.

Re: meta tags in a component don't work

8 years 2 months ago
#22626
can someone reproduce this problem?

Please Log in or Create an account to join the conversation.

Re: meta tags in a component don't work

8 years 2 months ago
#22724
Hoffi wrote in github:
I played around a bit and generally it works if meta fields of category are used.
If one uses the meta fields of menu item there could be problems because they are not (in all views) integrated.
Fixing this is a bit tricky because the active menu item could exactly match the category id or not (in case of a sub category without own menu item). There must be a clever but logical strategy when which meta data should be shown.
(I would suggest: show meta data of (1) exactly matching menu item else (2) category else (3) menu item else (4) global.)

Please Log in or Create an account to join the conversation.

Time to create page: 0.420 seconds