• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Carousel. How to make image linkable

Carousel. How to make image linkable 1 year 3 months ago #40272

Hi! RS team and users!
Can anyone can help me with carousel. How can i make a image linkable?
The administrator has disabled public write access.

Carousel. How to make image linkable 1 year 3 months ago #40276

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 371
  • Thank you received: 67
Hello,

You can try to create a template override for the carousel.php file, for example:

- edit your Carousel element in the backend area and add a link to your item's Button;

- go to \components\com_rspagebuilder\layouts\elements\bootstrap2 and copy the mentioned file;

- go to templates\your_template\html\layouts\com_rspagebuilder\elements\bootstrap2 and paste it here

- open the override and search for the image code:
<img<?php echo $item_options['item_image'].$item_image_alt_text; ?>>

- enclose it within the button's HTML/PHP code designed to add a link to it, for example:
<a href="<?php echo $item_options['button_url']; ?>" target="<?php echo $item_options['button_target']; ?>">
<img<?php echo $item_options['item_image'].$item_image_alt_text; ?>>                                
</a>

- finally, save and test your carousel element once more.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!