- Posts: 32
COMMUNITY FORUM
2.8 meta tags
- Third Sun Productions
- Topic Author
- Offline
- Junior Member
Less
More
7 years 3 months ago #163558
by Third Sun Productions
2.8 meta tags was created by Third Sun Productions
We use Zengrid framework from Joomlabamboo quite a bit - one thing it has is a shortcode to create column layouts.
I'm not sure if this is a K2 issue, or a Zengrid issue, but the latest update to K2 seems to have changed how it generates automatic meta data and has a conflict with the shortcode markup. The generated HTML does not get stripped and as result something like this appears in source:
<meta property="og:description" content="<div class="zen-row no-row-margin clearfix"><div class="zg-col zg-col-6">
This breaks the site layout as it leaves open div tags and meta tags
This never happened with previous versions of K2.
I did try re-ordering the K2 and Zen Shortcode plugins - it changed things, but didn't fix them. Can see here: thirdsundemo.com/test-item
I have a lot of sites using the Zengrid shortcode AND K2 so this presents a big issue for us. Any ideas?
I'm not sure if this is a K2 issue, or a Zengrid issue, but the latest update to K2 seems to have changed how it generates automatic meta data and has a conflict with the shortcode markup. The generated HTML does not get stripped and as result something like this appears in source:
<meta property="og:description" content="<div class="zen-row no-row-margin clearfix"><div class="zg-col zg-col-6">
This breaks the site layout as it leaves open div tags and meta tags
This never happened with previous versions of K2.
I did try re-ordering the K2 and Zen Shortcode plugins - it changed things, but didn't fix them. Can see here: thirdsundemo.com/test-item
I have a lot of sites using the Zengrid shortcode AND K2 so this presents a big issue for us. Any ideas?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 months ago #163594
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic 2.8 meta tags
Which plugin is rendered first?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Third Sun Productions
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 32
7 years 3 months ago #163612
by Third Sun Productions
Replied by Third Sun Productions on topic 2.8 meta tags
Currently K2 is first. Putting the shortcode plugin first results in even worse result - basically breaks all CSS.
I can resolve this by manually setting the meta description - or if there are enough characters before the shortcodes, but still presents an issue and I'm holding off upgrading sites as I'm not sure what will happen with other shortcodes or plugins.
I can resolve this by manually setting the meta description - or if there are enough characters before the shortcodes, but still presents an issue and I'm holding off upgrading sites as I'm not sure what will happen with other shortcodes or plugins.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 months ago #163625
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic 2.8 meta tags
Do you have a DEV site were the shortcode plugin is first?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Third Sun Productions
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 32
7 years 3 months ago #163627
by Third Sun Productions
Replied by Third Sun Productions on topic 2.8 meta tags
Now it is before K2: thirdsundemo.com/test-item
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 months ago #163649
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic 2.8 meta tags
The plugin is still being executed in the metatag.
All tags are stripped in K2's metatags github.com/getk2/k2/blob/master/components/com_k2/views/item/view.html.php#L593
So I think you need to address this issue to the extension's developers.
All tags are stripped in K2's metatags github.com/getk2/k2/blob/master/components/com_k2/views/item/view.html.php#L593
So I think you need to address this issue to the extension's developers.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 months ago #163651
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic 2.8 meta tags
For the time being, you can deactivate the meta tags
jmp.sh/8hV4cNM
jmp.sh/8hV4cNM
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Third Sun Productions
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 32
7 years 3 months ago #163654
by Third Sun Productions
Replied by Third Sun Productions on topic 2.8 meta tags
Thanks, I'm checking with Extension developer, too. However, this wasn't an issue with 2.7.1 - so what changed in regard to meta tags in 2.8.0?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 months ago #163697
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic 2.8 meta tags
It is most likely related to plugin event triggering.
K2 properly strips all HTML tags, so the issue might be related to when these plugins are being executed.
K2 properly strips all HTML tags, so the issue might be related to when these plugins are being executed.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Christian Rieger
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163702
by Christian Rieger
Replied by Christian Rieger on topic 2.8 meta tags
Hello!
I have the same problem i.e. on this site:
www.mathelike.de/klausuren-q11-q12/klausuren-q12-1/klausur-q12-1-001/loesung-aufgabe-1.html
Until there's a solution is it possible to reinstall v2.7.1 and where to get it?
Best regards
Christian
I have the same problem i.e. on this site:
www.mathelike.de/klausuren-q11-q12/klausuren-q12-1/klausur-q12-1-001/loesung-aufgabe-1.html
Until there's a solution is it possible to reinstall v2.7.1 and where to get it?
Best regards
Christian
Please Log in or Create an account to join the conversation.