Hello! We are online right now 15:46:01

The support team is online and will be able to answer your inquiries. Please stay calm, follow the rules and do not cross post. We'll attend to you as soon as we can.

Official support hours are from 8:30AM — 5:00PM Monday to Saturday (GMT +7)

Release JLex Comment 3.6.1 👏

Links in Reviews

Matt Hunt
Is there a way for JLex Review to automatically force links in reviews to open a new window when clicked on?

6 replies

Victor
Yes, you can do that by add this script to your page:
(function($) {
$(document).ready(function(){
window.setInterval (function(){
$(".reviewBlock a").not(".elink").each (function(){
$(this).addClass ("elink");

var b = $(this)[0];
b.getAttribute("href") && b.hostname !== location.hostname && (b.target = "_blank");
});
}, 500);
});
}) (jQuery)


You can put it in file:  templates/aquacorals/script.js or components/com_jlexreview/assets/jlexreview.min.js
Victor
May I don't understand your question. Would you like open each review in new window instead of itself window ?
Matt Hunt
Not the review itself, but any links that are put in the review. Title
Victor

Is there a way for JLex Review to automatically force links in reviews to open a new window when clicked on?


Not the review itself, but any links that are put in the review. Title


Can you preview it ?? I don't understand :(
Matt Hunt
When someone puts a link to another site in a review. It is automatically hyperlinked so when you click on the link it takes you to the new location in the same window. Is there a way to format that link with a "target="_blank" so that it opens a new window when you click on it.
Matt Hunt
Perfect! Thank you so much!
Reply to

Product Changelogs

Product Changelogs

JLex Comment 3.6.1
^ Integrate the Finder (Smart search) plugin.
# Fixed login with Facebook.
# Fixed the issue of being unable to retrieve a user's profile picture on Facebook.
# Fixed a bug related to editing comments in the front-end.
# Fixed bug "Jump to comment is broken".
# Improved the data structure.
JLex Block 6.1.7
# Fixed known bugs.
# Updated GEO servers.
JLex Review 6.4.1
# Improved template.
# Fixed missing translation errors.
# Fixed field data type errors.
# Fixed known minor bugs.
Youtube Feed Pro 6.0.5
# Fixes the issue of thumbnails not loading.
JLex Review 6.3.7
^ Integrated Finder plugin.
# Fixed known bugs.
Youtube Feed Pro 6.0.4
# Redesign themes
# Optimize source code (reduce 35%)
# Optimize processing time
# Dark Mode in the admin section
# Support for changing thumbnail size.
# Compatible with Joomla 5.4.x and 6.
Flash Sale Banner 1.1.2
# Compatible with Joomla 5.4.x and 6.
See more
✨ All extensions are now fully compatible with Joomla 5.4.x and 6.
Sign in to your account

Use your social accounts to sign in