Integration of Widgetkit in image field

More
12 years 6 months ago #38569 by ggppdk
You have latest SVN version

if you search inside the image.php plugin file you will find that there is grouping code for widgetkit:

$group_str = $group_name ? 'data-spotlight-group="'.$group_name.'"' : '';

data-spotlight-group="nnnnnnnn"

temporarily replace above line with :
echo $group_str = $group_name ? 'data-spotlight-group="'.$group_name.'"' : '';

is it outputted ? also does it appear in the "View Source code" (i do not know if the JS code of widgetkit removes the parameter after initial execution)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

More
12 years 6 months ago #38577 by brandonking
Sorry for the late reply.

Output:
data-spotlight-group="fcview_item_fcitem_30_fcfield_20"data-spotlight-group="fcview_item_fcitem_30_fcfield_20"

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

More
12 years 6 months ago #38580 by ggppdk
Hello,
that looks like broken syntax

so,
it is outputted twice with no space in between ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

More
12 years 6 months ago #38588 by brandonking
that's right, there is no space.

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

More
12 years 6 months ago #38593 by ggppdk
hello,

i don't see anything wrong in the code

please test by making changes to image.php,

close at place:
Code:
$group_str = $group_name ? 'data-spotlight-group="'.$group_name.'"' : '';

i don't have Widgetkit installed to test and no time for this now
maybe i can comment out / remove support for Widgetkit in v2.0.3 and renable in v2.1 when i will have time to test

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save