PDA

Zobacz pełną wersję : Simple iFrame Lightbox Module v2.5



Kajutka26
15-01-2011, 09:20
Witam,
zainstalowałam sobie moduł iFrame Lightbox. Generalnie zależało mi na tym, aby strona wyświetlała się nie w oknie przeglądarki a w oknie lightboxa.
I teraz chcac aby modul wyswietlił mi sie na stronie glownej zastosowalam loadingposition.
Pojawia mi sie nastepujacy bledy:

Notice: Undefined variable: captionBgColor in C:\wamp\www\kate_web1\modules\mod_fhw_simplelightb ox\css\xml_css.php on line 44

Notice: Use of undefined constant CssClass - assumed 'CssClass' in C:\wamp\www\kate_web1\modules\mod_fhw_simplelightb ox\helper.php on line 205

pod spodem komunikatu oczywiscie pojawia sie odpowiedni odnosnik, ale po kliknieciu pojawia sie puste okno lightboxa bez zawartosci.

Plik xml_css.php
<?php
//FHW Simple iFrame Lightbox Module//
/**
* mod_fhw-simplelightbox
* @author Kevin Florida, 10/07/2009
* **For support, visit our Web site.
* **www.floridahostweb.com (http://www.floridahostweb.com)
* ---------------------------------------------------------------------------
* This module is distributed free of charge under the GNU/GPL License.
* Always backup your files and database prior to any new extension install.
* ---------------------------------------------------------------------------
* This module is based on javascript By: Colorbox and jQuery.
* ---------------------------------------------------------------------------
* @package Joomla 1.5
* @copyright Copyright (C) 2009 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software and parts of it may contain or be derived from the
* GNU General Public License or other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
* ---------------------------------------------------------------------------
* --------------VERSION CONTROL----------------------------------------------
* --VERSION 1.0 BY: KEVIN FLORIDA, 10/07/2009
* ----1) Original Design and Integration into Joomla!
* --VERSION 2.0 By: Kevin Florida, 01/29/2010
* ----1) Added helper file.
* ----2) No longer using thickbox. Upgraded to colorbox js.
* ----3) Cleaner look and styles. More backgrounds.
*----------------------------------------------------------------------------
*/

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

$customStyles = '



#cboxOverlay {
background: #'.$bgColor.' url(../images/'.$bgImage.') 0 0 repeat;
}

#cboxTitle{
color: #'.$captionColor.';
background: #'.$captionBgColor.';
padding-top: '.$captionPaddingTop.'px;
padding-bottom: '.$captionPaddingBottom.'px;
font-weight: '.$captionWeight.';
font-style: '.$captionStyle.';
}



'

?>

Plik helper.php
205) $linkContent = '<table cellpadding="5" cellspacing="0" border="0"><tr><td style="vertical-align: top;"><span class="image_'.$CssClass.'">'.$imglink.'</span></td><td style="vertical-align: top;"><span class="title_'.CssClass.'">'.$textlink.'</span>'.$textbreak.'<span class="desc_'.$CssClass.'">'.$desc.'</span></td></tr></table>';
206) break;

Goraco proszę o pomoc.