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

More
11 years 7 months ago - 10 years 1 month 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: 10 years 1 month ago by ggppdk.

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

More
11 years 7 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
11 years 7 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
11 years 7 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 review. Thanks!

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

More
11 years 7 months ago #47522 by tramber91

Bertrand
En Toutes Lettres digital

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

More
11 years 7 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 review. Thanks!

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

More
10 years 1 month ago #58833 by tramber91
Hi
I come back to this topic

with update to lateste version 3.0.8 it seems I have lost my pp up RokBox

below my parameter on image field



thanks

Bertrand
En Toutes Lettres digital

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

More
10 years 1 month ago - 10 years 1 month ago #58834 by ggppdk
Hello

please use v3.0.9rc6c
it has several bug-fixes (and some changes in image field),
and no new bugs ( comparing to v3.0.8 )

about you issue,
- do you speak of category view (/ item lists) or of item view ?
- have you enabled "link to URL" ?
- if you speak of category view the new behaviour is to display single image and link to item view:
"Display method" parameter


-- 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!
Last edit: 10 years 1 month ago by ggppdk.

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

More
10 years 1 month ago #58846 by tramber91
Thanks, I've got it now !! :)
But the caption is always empty ( data-rokbox-caption="" ) ?
also
Possible to show medium image in item default template view and Large picture in popup ?
take care

Bertrand

Bertrand
En Toutes Lettres digital

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

More
10 years 1 month ago #58850 by ggppdk
Hello

But the caption is always empty ( data-rokbox-caption="" ) ?

You need to enable and use "Title" and/or Description property, "Alternative Text" is what is says, it <img alt="...."

data-rokbox-caption="..." will be Description if it exists , and if description does not exist it will be title

Possible to show medium image in item default template view and Large picture in popup ?

yes
- popup is always large
and for thumbnail, there is 1 parameter for item view and 1 for category view
(TAB "viewing" at the bottom, just a little below than the picture that you posted)


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