Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Problem with "Content Views" Plugin
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Problem with "Content Views" Plugin
#65083
Problem with "Content Views" Plugin 5 Years, 1 Month ago Karma: 0
Hello

I try to use the Fancy Lightbx (Pro) along with Content Views (Pro) wich offers a lightbox option itself. Of course that doesn't look verry well. There is an option to disable the CV lightbox, but that opens the image in media view (? small version of the image on it's own page) and when I click that image the lightbox works. I asked the CV support about it an get this response...
If you want to use a third-party lightbox, please:

install a lightbox plugin you want
disable the lightbox in the View (not select the lightbox option in Display Settings >> Others >> Open Item In)
Some lightbox plugins will work with images in our grid/list automatically.

Some other lightbox plugins need manually configuration. The most popular configuration is adding HTML attribute to images. If so, please add this code to file functions.php in the theme’s folder:

Code:

// Content Views Pro - Use third party lightbox
add_filter( 'pt_cv_field_href_attrs', 'cvp_theme_use_another_lightbox', 100, 3 );
function cvp_theme_use_another_lightbox( $custom_attr, $open_in, $oargs = array() ) {

/** For example:
  $custom_attr[] = 'rel="lightbox"';
  $custom_attr[] = 'data-rel="iLightbox[gallery-1]"';
 */

$custom_attr[] = 'LIGHTBOX_HTML_ATTRIBUTE_HERE';

return $custom_attr;
}


The LIGHTBOX_HTML_ATTRIBUTE_HERE depends on the third-party lightbox you use.


But I can't figure that out. I also tried to enter some of CV's class tags to the Fancy Lightbox group selectors list and that didn't work either.

Now I'm lost. Please help (and excuse my spellings)

Georg
Content Views at Wordpress
Last Edit: 2019/06/03 08:50 By gekow.Reason: spelling errors
The administrator has disabled public write access.
 
#65090
Re:Problem with "Content Views" Plugin 5 Years, 1 Month ago Karma: 748
Hello,

Could you provide a link to a page with images which you want to open into the lightbox?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#65096
Re:Problem with "Content Views" Plugin 5 Years, 1 Month ago Karma: 0
Sure.... you will notice two lightboxes at once

photo.kowalek.com

There are other pages on this sie, that use the justified image grid. Aril Lightbox works perfect with that.
Last Edit: 2019/06/04 07:52 By gekow.
The administrator has disabled public write access.
 
#65100
Re:Problem with "Content Views" Plugin 5 Years, 1 Month ago Karma: 748
Open "ARI Fancy Lightbox -> Settings -> Integration" page and populate "Images -> Custom grouping selectors" parameter with the following code:

.pt-cv-view$$A

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1