Close lightbox with articles

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Feb 14, 2015 11:58 am
Reply with quote
Report this post
Hi
I need urgent help please ..
Why I can not close the lightbox popup when I link an article?
http://lanser1.cyangraf.es/index.php/en-la-empresa

Thank You
User avatar
Senior Boarder

GK User
Sat Feb 14, 2015 4:38 pm
Reply with quote
Report this post
Hi,
this is K2 item feature, unfortunately, you can not turn off
to remove it you have to edit that file:
templates\gk_rockwall\html\com_k2\templates\default\item.php
User avatar
Platinum Boarder

GK User
Sat Feb 14, 2015 4:41 pm
Reply with quote
Report this post
More details as you may ask:
1) find
Code: Select all
<figure class="itemImageBlock">
               <a class="itemImage modal" rel="{handler: 'image'}" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('K2_CLICK_TO_PREVIEW_IMAGE'); ?>">
                  <img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
               </a>


2) then remove link <a> tag only

Code: Select all
<figure class="itemImageBlock">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
 
User avatar
Platinum Boarder

GK User
Sun Feb 15, 2015 11:16 am
Reply with quote
Report this post
Sorry
Do not explain the problem perfectly ...
It happens with lightbox plugins when I put contendo of items from the site.
Unable to close the popup window with the button to close
No occurs with images or external links ..
sending image to make it look better

Thanks for your help
User avatar
Senior Boarder

GK User
Tue Feb 17, 2015 1:57 pm
Reply with quote
Report this post
what kind of popup -lightbox plugins?
we don't have to support them hre, so maybe try another which works better.
User avatar
Platinum Boarder

GK User
Tue Feb 17, 2015 5:05 pm
Reply with quote
Report this post
Hi
the plugins used is widgetkit lite lightbox...
thanks for your help
User avatar
Senior Boarder

GK User
Tue Feb 17, 2015 7:26 pm
Reply with quote
Report this post
widgetkit = yootheme = no support from gavick (simple!)
User avatar
Platinum Boarder

GK User
Tue Feb 17, 2015 10:02 pm
Reply with quote
Report this post
Can I have advised one that works with this template please?
thanks for your help
User avatar
Senior Boarder

GK User
Wed Feb 18, 2015 12:06 am
Reply with quote
Report this post
Check other, we are here not for checking plugins for users one by one, sorry.

TIP: http://extensions.joomla.org/category/s ... -a-iframes
User avatar
Platinum Boarder


cron