Welcome, Guest
Username: Password: Remember me
JO Responsive Instagram Photo Gallery

TOPIC: How to disable the carousel in "classic mode"

How to disable the carousel in "classic mode" 7 years 3 months ago #4479

Hi,

I would like to disable the carousel in the "classic mode" so that when you click on a picture, it opens directly a new page (the instagram page containing the picture)

Can you please tell me what files/lines to modify ?

Thank you in advance
The administrator has disabled public write access.

How to disable the carousel in "classic mode" 7 years 3 months ago #4483

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello Christophe
Can you send me joomla admin via contact form? So we can help you
Best regards
Bach Pham
The administrator has disabled public write access.

How to disable the carousel in "classic mode" 7 years 3 months ago #4484

Hello Bach Pham,
I am working on local server so I can't give you access.
Could you please tell me what lines in the code I have to modify to disable the carousel ?
Thank you
The administrator has disabled public write access.

How to disable the carousel in "classic mode" 7 years 3 months ago #4485

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello Christophe
Please help me find and open file: modules/mod_jo_responsive_instagram_photo_gallery/js/instagramJournal.js and go to line 192 and change

n = '<a class="instagram-photo image" id="p' + i.id + '" href="' + i.link + '" target="_blank" data-name="' + i.user.full_name + '" data-caption-std="' + l + '" data-caption="' + l + " <a target="_blank" href="" + i.link + '">View Photo</a> " data-created="' + i.created_time + '" data-author="' + i.user.username + '" data-likes="' + i.likes.count + '" data-comments="' + i.comments.count + '" data-profile="' + i.user.profile_picture + '" rel="group">'
TO
n = '<a class="instagram-photo image" id="p' + i.id + '" href="' + i.link + '" target="_blank">'

Best regards
Bach Pham
The administrator has disabled public write access.
The following user(s) said Thank You: Christophe63

How to disable the carousel in "classic mode" 7 years 3 months ago #4486

Perfect.
Thanks for your help ;)
The administrator has disabled public write access.

How to disable the carousel in "classic mode" 7 years 3 months ago #4487

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
B)
Thank you for using our products
Best regards
Bach Pham
The administrator has disabled public write access.
Time to create page: 0.072 seconds