[SOLVED] FC 2.2.0 (3.0.8 now) issue with image rokbox popup version 2

More
10 years 4 months ago - 8 years 10 months ago #47507 by tramber91
Dear all

after updtate from 2.1.3 to 2.2.0, I have issue with image popup Rokbox
It seems that you come back to rokbox 1 with code rel="rokbox[800 600]" instead of data-rokbox

Bertrand

Bertrand
En Toutes Lettres digital
Last edit: 8 years 10 months ago by ggppdk.

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

More
10 years 4 months ago #47508 by tramber91
Ooops sorry

I remember now, I had modified your initial code to work with rokbox 2. I have to redo the hack (don't remember where, I have to looking for)

Should be great to have rokbox 2 by default, rokbox 1 is deprecated now

thanks

Bertrand
En Toutes Lettres digital

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

More
10 years 4 months ago #47509 by tramber91
I have changed in file
plugins/flexicontent_fields/image/image.php
Code:
<a href="'.$srcl.'" rel="rokbox['.$wl.' '.$hl.']" '.$group_str.' title="'.$title_attr.'">

by
Code:
<a href="'.$srcl.'" data-rokbox data-rokbox-caption="'.$title_attr.'" title="'.$title_attr.'">

Bertrand
En Toutes Lettres digital

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

More
10 years 4 months ago #47517 by ggppdk
Hello

if we use:
Code:
<a href="'.$srcl.'" rel="rokbox['.$wl.' '.$hl.']" '.$group_str.' title="'.$title_attr.'" data-rokbox data-rokbox-caption="'.$title_attr.'"> '.$img_nolegend.'

will keep it compatibile with Rokbox 1 and also it should work with Rokbox 2


can you try it ?


thanks for feedback !


-- 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...

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

More
10 years 4 months ago #47522 by tramber91

Bertrand
En Toutes Lettres digital

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

More
10 years 4 months ago #47524 by ggppdk
Hello

ok thanks will commit this in r1911+


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.413 seconds
Save
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