-
AuthorPosts
-
October 20, 2020 at 10:33 am #1254297
Dear Kries Team,
after all the years i am using your great Theme still, there is no real alternative.
I have one Issue. When i place an Image link in an Ajax portfilio it is displayed as lightbox, which is just perfect, but when i close this Image lightbox none of the Elements of the portfolio grid (which open the Ajax Portfolio detail pages) is anymore clickable.
Do you have any hint for me?
October 20, 2020 at 9:53 pm #1254477Hey basti2409,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaOctober 21, 2020 at 10:39 pm #1254786This reply has been marked as private.October 22, 2020 at 11:39 am #1254938Hi basti2409,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaOctober 26, 2020 at 1:16 pm #1255696This reply has been marked as private.October 28, 2020 at 7:29 pm #1256449Hi basti2409,
When you close a vcard there is a JavaScript error. Did you customize the portfolio pop-up?
You might want to update the theme to the latest version and update php to php7.2 or higher as php7.2 is a minimum requirement for WordPress and plugins now.
Best regards,
VictoriaOctober 28, 2020 at 9:54 pm #1256524Hi Victoria,
thanks for the js hint, i’ll check that and let you know… unfortunately the client has some other old Applications running on the Server that require the php version.
Have a good evening
October 29, 2020 at 10:59 pm #1256905Hi basti2409,
Well, php might not be the reason anyway but the custom JavaScript that changes the popup and conflicts with the portfolio JavaScript.
Best regards,
VictoriaOctober 29, 2020 at 11:29 pm #1256919Dear Victoria,
thanks, I’ve knocked it down to a snippet from Vinay for the functions.php from here: https://kriesi.at/support/topic/close-ajax/ its the last snippet in the thread.
I used that to close the Ajax Portfolio on “click anywhere”. This logically conflicts with a Image link inside the Ajax Portfolio… when the Image link is clicket the event for closing gets fired by js and after that “content_retrieved[is_open]” on line 351 in portfolio.js is undefined.
I can do some development tomorrow. If i can slove it I’ll let you know.
Best regards,
Bastian
October 30, 2020 at 11:24 am #1257017Dear Victoria,
i solved it, portfolio.js now proofs if ” content_retrieved[is_open] ” is undefined before doing “content_retrieved[is_open].attr({‘style’:””}).removeClass(‘open_slide’);”
Here is the code in case another one needs a Image link in an ajaxportfolio, with closing functionality from here: https://kriesi.at/support/topic/close-ajax/
The modification starts on line: 351case '#close': animating = true; target_wrap.slideUp( options.timing, options.easing, function() { container.find('.active_portfolio_item').removeClass('active_portfolio_item'); if (typeof content_retrieved[is_open] !== 'undefined') { content_retrieved[is_open].attr({'style':""}).removeClass('open_slide'); } target_wrap.removeClass('open_container'); animating = is_open = index_open = false; methods.remove_video(); the_body.trigger('av_resize_finished'); }); break;
Have a good weekend and thank you for the hint with the javascript error wich initially pointed me to the solution,
Bastian
- This reply was modified 4 years ago by basti2409.
October 30, 2020 at 8:42 pm #1257140Hi basti2409,
Glad you got it working for you and thank you for sharing! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.