SimplePortal

Support => International Support => German => Topic started by: Divecall on June 05, 2009, 05:51:46 PM

Title: Lightbox (Integrated) + SimplePortal
Post by: Divecall on June 05, 2009, 05:51:46 PM
Hallo Leute !

Habe den Mod "Integrated Lightbox" installiert (siehe hier: http://custom.simplemachines.org/mods/index.php?mod=1158 (http://custom.simplemachines.org/mods/index.php?mod=1158). Funzt wunderbar...im Forum.

Nun gibt es den Block (welcher auf meiner Startseite) das aktuellste, letzte hochgeladene Bild anzeigt ("Neuste angehängte Bilder Block").

Mein Problem ist, oder vielmehr würde ich mir wünschen, das die Funktion der Lightbox auch auf diesen Block übertragen wird.

Welche Zeilen müßte ich wo ändern ?

Danke für eure Hilfe.
Title: Re: Lightbox (Integrated) + SimplePortal
Post by: Divecall on June 06, 2009, 05:15:17 PM
In the index.template.php of my (DilberMC) Theme, i need to add the following code, to made the lightbox function

Quote
//Integrate Lightbox Mod: Start
echo '   
<script type="text/javascript" src="', $settings['default_theme_url'], '/mootools1.11.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/slimbox.js"></script>
<link rel="stylesheet" href="', $settings['default_theme_url'], '/slimbox.css" type="text/css" media="screen" />';
   //Integrate Lightbox Mod: End

Maybe i need to add this code, to make this mod function in the simpleportal startpage, but in what file, where ???
SimplePortal 2.3.8 © 2008-2024, SimplePortal