Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Lightbox doesnt popup..
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Lightbox doesnt popup..
#5906
Lightbox doesnt popup.. 13 Years, 8 Months ago Karma: 0
Ok I cannot get this plugin to work, not sure if its a conflict or what.. seems like its not even loaded.. it just opens in a new window.. here is code I am using, I am using both mine and yours provided as an example and both do the same thing..

Code:

<p><a href="index2.php?option=com_content&view=article&id=100&Itemid=159?TB_iframe=true&height=450&width=450" rel="sexylightbox"><img src="images/bridal.jpg" border="0" width="180" height="95" /></a></p>

<p><a href="http://www.google.com?TB_iframe=true&height=600&width=800" rel="sexylightbox">Gooooogle</a></p>

Last Edit: 2010/07/30 07:15 By SBS_JR.
The administrator has disabled public write access.
 
#5908
Re:Lightbox doesnt popup.. 13 Years, 8 Months ago Karma: 747
Hello,

It seems site template contains incorrect code for removing MooTools javascript library. Could you open template index.php file and provide code between <head> and </head> tags?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#5914
Re:Lightbox doesnt popup.. 13 Years, 8 Months ago Karma: 0
Ok I am guessing what youre looking for is not inside the head tags on this template but I think I got what you want here...

Code:

*/

// no direct access
defined('_JEXEC') or die('Restricted access');

include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/yootools.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/yoolayout.php');

$template_baseurl = $this->baseurl . '/templates/' . $this->template;

JHTML::_('behavior.mootools');

// add template mootools to JDocumentHTML
if ($this->params->get('loadMootools')) {
$this->_scripts = array_merge(array($template_baseurl . '/lib/js/mootools/mootools-release-1.11.js' => 'text/javascript'), $this->_scripts);
unset($this->_scripts[$this->baseurl . '/media/system/js/mootools.js']);
}

// add template javascript to JDocumentHTML
if ($this->params->get('loadJavascript')) {
if ($this->params->get('reflection')) $this->addScript($template_baseurl . '/lib/js/reflection/reflection.js');
if ($this->params->get('lightbox')) $this->addScript($template_baseurl . '/lib/js/lightbox/slimbox.js');
$this->addScriptDeclaration($yTools->getJavaScript());
$this->addCustomTag('<script type="text/javascript" src="' . $template_baseurl . '/lib/js/yt_tools.js"></script>');
$this->addCustomTag('<!--[if lt IE 7]><script type="text/javascript" defer src="' . $template_baseurl . '/lib/js/yt_ie6fix.js"></script><![endif]-->');
}

// add template css to JDocumentHTML
$this->addStyleSheet($template_baseurl . '/css/template.css');
if ($yTools->getCurrentColor() != "default") $this->addStyleSheet($template_baseurl . '/css/' . $yTools->getCurrentColor() . '/' . $yTools->getCurrentColor() . '-template.css');
if ($this->params->get('lightbox')) $this->addStyleSheet($template_baseurl . '/lib/js/lightbox/css/slimbox.css');
$this->addCustomTag('<!--[if lte IE 7]><link href="'. $template_baseurl . '/css/iehacks.css" rel="stylesheet" type="text/css" /><![endif]-->');
$this->addCustomTag('<!--[if IE 7]><link href="'. $template_baseurl . '/css/ie7hacks.css" rel="stylesheet" type="text/css" /><![endif]-->');
$this->addCustomTag('<!--[if IE 6]><link href="'. $template_baseurl . '/css/ie6hacks.css" rel="stylesheet" type="text/css" /><![endif]-->');

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
</head>



Also I figured I should show you the template options.. so here is a pic of that...

The administrator has disabled public write access.
 
#5919
Re:Lightbox doesnt popup.. 13 Years, 8 Months ago Karma: 747
Thanks for information. We have found the problem. You try to use the plugin into a module. 'ARI Sexy Lightbox Lite' is Joomla! content plugin. It means it can be used in articles because Joomla! runs content plugins only in articles, not in module. If you want to use sexy lightbox anywhere, you can be interested in ARI Sexy Lightbox it contains 'System - ARI Sexy Lightbox' plugin which provides possibility to use sexy lightbox in any Joomla! content, not only in articles.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#5929
Re:Lightbox doesnt popup.. 13 Years, 8 Months ago Karma: 0
Ok I will purchase this one tomorrow, thanks..
The administrator has disabled public write access.
 
#6106
Re:Lightbox doesnt popup.. 13 Years, 8 Months ago Karma: 0
I'm having the similar problem where it works in one example, but not another when using the exact same code.

Works correctly on this page... www.dasisolutions.com/joomla/index.php/company/customer-forms on 'Melissa' link at right

But not from this page...
www.dasisolutions.com/joomla/index.php/training/descriptions on 'Request Class' link at right

Is the difference the page type (article vs category)? If yes, would upgrading to non-Lite version allow me to use the lightbox on a category page?
The administrator has disabled public write access.
 
Go to topPage: 12