Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Issue with K2 v 2.8.0

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

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 {zen-row} markup. These do 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.

I have a lot of sites using this shortcode AND K2 so this presents a big issue for us. Any ideas?
  • Troy Mumm's Avatar
  • Troy Mumm
  • LIfetime Developer - Big Bamboo
  • 140 posts
  • 3 Thanks
  • Karma: 4
The administrator has disabled public write access.
Hi Troy
Did you try the developer version of K2 from github (github.com/getk2/k2)?

rgds Tomek (also K2 addicted)
  • witraze's Avatar
  • witraze
  • 12 Month basic
  • 346 posts
  • 20 Thanks
  • Karma: 8
The administrator has disabled public write access.
Thanks for the idea, but unfortunately didn't make any difference. Posted over at the K2 forum as well.

Also, manually setting the meta description for an item solves the issue for that one item.

So this is only an issue when the zen shortcode is at the beginning of the item, and when meta description isn't set.

Another hacky solution would be to set the meta auto description to "0" in the K2 Parameters to turn that off.
  • Troy Mumm's Avatar
  • Troy Mumm
  • LIfetime Developer - Big Bamboo
  • 140 posts
  • 3 Thanks
  • Karma: 4
The administrator has disabled public write access.
We are looking at this

Thanks for the information

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul. A quick update - It looks like K2 is programmed to strip all tags, so ZenShortcode is executing in the meta description when it should only in body.

github.com/getk2/k2/blob/master/components/com_k2/views/item/view.html.php#L593
  • Troy Mumm's Avatar
  • Troy Mumm
  • LIfetime Developer - Big Bamboo
  • 140 posts
  • 3 Thanks
  • Karma: 4
The administrator has disabled public write access.
Thanks Troy

I've been monitoring the k2 thread at

www.joomlaworks.net/forum/k2-en/48141-2-8-meta-tags

I'm guessing this is you? :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
Last Edit: 2 years 7 months ago by manh.
The administrator has disabled public write access.
I've also forwarded the link to the developer - thanks for this

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yep, that's me. Thanks, appreciate the support you provide.
  • Troy Mumm's Avatar
  • Troy Mumm
  • LIfetime Developer - Big Bamboo
  • 140 posts
  • 3 Thanks
  • Karma: 4
The administrator has disabled public write access.
As soon as I hear anything I will let you know
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Have a great weekend

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi there,

I must confess 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
Glad you're already informed of it. Hope there's a solution soon.

Best regards
Christian

broken_meta_discription.png


text_on_top.png
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
At the moment can you add meta data to the k2 item?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, putting the meta in manually works fine. The problem is with auto generation of the meta description.
  • Troy Mumm's Avatar
  • Troy Mumm
  • LIfetime Developer - Big Bamboo
  • 140 posts
  • 3 Thanks
  • Karma: 4
The administrator has disabled public write access.
Yep I have asked the developers about this but with it being a public holiday weekend I've not heard back yet

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
My Guys,

I was wondering if you could help us out with this plugin by testing a new version of the shortcodes plugin in response to this problem

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

yes of course. Is this v1.7.0

Thanks
Christian
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Christian,

Thanks - glad you mentioned the version number as I'm not sure why the developer has numbered it as 1.5.1

Think that might be a mistake

Do you have an email I can send it to? Is your account email correct?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, it's correct
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
I've downloaded the latest which says 1.7.0, and see no difference, unfortunately.

thirdsundemo.com/test-item
  • Troy Mumm's Avatar
  • Troy Mumm
  • LIfetime Developer - Big Bamboo
  • 140 posts
  • 3 Thanks
  • Karma: 4
The administrator has disabled public write access.
Hi Troy,

We haven't released it yet - as we are testing

Can I email it to your account email?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers