Forums

Welcome, Guest
Username: Password: Remember me

TOPIC: Wishlist for JU Content Slider

Wishlist for JU Content Slider 3 years 4 months ago #2050

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1641
  • Thank you received: 178
  • Karma: 43
The code should be:
if ( $_params->get('show_image') && !empty($item->image) ) {
echo '<div class="ju-slider-image">
<div class="ju-slider-image-inner">';
// echo $item->image;
echo '{modal ' . $item->link . '}' . $item->image . '{/modal}';
echo ' </div>
</div>';
The administrator has disabled public write access.

Wishlist for JU Content Slider 3 years 4 months ago #2051

  • jamesweb
  • jamesweb's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Thank yo uso much for the modified code.
What I did: if ( $_params->get('show_image') && !empty($item->image) ) {
echo '<div class="ju-slider-image">
<div class="ju-slider-image-inner">';
// echo $item->image;
// echo '{modal $item->link} $item->image {/modal}';
echo '{modal ' . $item->link . '}' . $item->image . '{/modal}';
echo ' </div>
</div>';
}
Result: webitconsultant.com/testpage/index.php

Image and link working now but modal dont. I found out that the <img src> is not inside the modal...
The administrator has disabled public write access.

Wishlist for JU Content Slider 3 years 4 months ago #2052

  • jamesweb
  • jamesweb's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Solve the <img src> not inside the modal form by turning OFF the use large image.

Modal form and images working but on click link & the image not showing.
Last Edit: 3 years 4 months ago by jamesweb.
The administrator has disabled public write access.

Wishlist for JU Content Slider 3 years 4 months ago #2053

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1641
  • Thank you received: 178
  • Karma: 43
Let's post the exactly modal code you are using with normal image, i'll tell you the code to replicate the same way.
The administrator has disabled public write access.

Wishlist for JU Content Slider 3 years 4 months ago #2054

  • jamesweb
  • jamesweb's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
This is the code for normal image.

{modal images/idt/Curtain-1.jpg}<img src="images/idt/Curtain-1.jpg" alt="" width="200" height="150" />{/modal}

The output can be viewed here: webitconsultant.com/testpage/index.php
The administrator has disabled public write access.

Wishlist for JU Content Slider 3 years 4 months ago #2055

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1641
  • Thank you received: 178
  • Karma: 43
Please send me your admin account via: www.joomultra.com/contact-us.html
I'll check it closer.
The administrator has disabled public write access.
The following user(s) said Thank You: jamesweb
Time to create page: 0.503 seconds
Powered by Kunena Forum