Keyword

I have a suggestion for item context data.

  • Todor Iliev
  • Todor Iliev's Avatar Topic Author
  • Offline
  • New Member
More
11 years 9 months ago #108049 by Todor Iliev
I have a suggestion for item context data. was created by Todor Iliev
Hi,
I have developed some extensions for social media sharing.
You can find them on those pages.

itprism.com/free-joomla-extensions/social-marketing-seo/socialmedia-multi-share
itprism.com/free-joomla-extensions/social-marketing-seo/multi-share-buttons
itprism.com/free-joomla-extensions/social-marketing-seo/floating-multi-share

I and people which use my extensions have a problem with K2 items.

The problem comes from the context when onContentPrepare event is triggered.
The context for item, media, gallery, extra fields is same for all - "com_k2.item".
And there is no chance to catch when is item, when is media, when is extra field.

Here you are some links with information about that issue, posted by people used my extensions.

Display x times in K2 extra fields section
github.com/ITPrism/ITPShare-Plugin/issues/8

ITPShare visible in K2 Media section as well
github.com/ITPrism/ITPShare-Plugin/issues/5

My suggestion is...It will be great if everyone part of article have different context.

For example:

item = com_k2.item
media = com_k2.item.media
gallery = com_k2.item.gallery
extra field = com_k2.item.extra_field
....

Thank you! :)
Todor

I was lucky – I found what I love to do early in life. « Steven Jobs »
itprism.com <- Free social extensions for Joomla!
Follow me @ITPrism

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

More
11 years 9 months ago #108050 by Alberto Lagos
Replied by Alberto Lagos on topic Re: I have a suggestion for item context data.
Hi,

I am having this issue on my site.

I have a site based on K2 categories, subcategories and items, and I am using social buttons under every article item so people can share my content across social nets. Now I needed to create a new category, with articles with extensive use of extra fields, but I am stuck as at the moment the social and share buttons appear repeated under every extra field of the item, so the article is not presentable like this. I have used Todor's wonderful extensions and others, and it is always the same.

Many thanks in advance for your prompt fix, and best regards,

Alberto

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


Powered by Kunena Forum