Bildergalerie w3concepts.gallery.v1 :: neues Modul

kummer
Beiträge: 2423
Registriert: Do 6. Mai 2004, 09:17
Wohnort: Bern, Schweiz
Kontaktdaten:

Bildergalerie w3concepts.gallery.v1 :: neues Modul

Beitrag von kummer » Mi 22. Sep 2004, 10:21

Im Auftrag der Agentur Insel Mediadesign haben wir das Modul w3concepts.gallery.v1 entwickelt. Die Agentur hat uns freundlicherweise erlaubt, den Quellcode der Community zur Verfügung zu stellen.

Features

Die Bildergalerie erzeugt von allen Bilder, die sich im bezeichneten Verzeichnis befinden Thumbnails (Grösse konfigurierbar) und erstellt damit eine Galerie (Anzahl Spalten und Zeilen je Seite sowie die Links für Vorwärts und Rückwärts sind konfigurierbar). Durch Klicken auf ein Bild, wird dieses in Originalgrösse in einem Popup dargestellt. Durch erneutes Klicken auf das Bild im Popup wird es auch wieder geschlossen.
Unter den Thumbnails wird die Bildbeschreibung ausgegeben, die in der Dateiverwaltung gepflegt werden kann.

Installation

(1) Input-Script in Input-Bereich kopieren

(2) Output-Script in den Output-Bereich kopieren

(3) Die Datei 'popupviewer.php' in das selbe Verzeichnis kopieren, wie die Datei 'front_content.php'.

(4) Modul konfigurieren.

Input-Script

Code: Alles auswählen

/***********************************************
* CONTENIDO MODUL - INPUT
*
* Modulname   :	    w3concepts.gallery.v1
* Author      :     Andreas Kummer
* Copyright   :     mumprecht & kummer w3concepts
* Created     :     30-08-2004
* Modified    :     30-08-2004
************************************************/

class pfad {

	function pfad($pfad) {
		$this->pfad = $pfad;
		$this->pathlen = strlen($this->pfad);
	}

	function getPath($root,$level = 0) {
		$content = $this->readDir($root);

		foreach ($content as $file) {
			if (is_dir($root.$file)) {
				$verzeichnis = substr($root,$this->pathlen);
				$returnvalue["{$verzeichnis}{$file}/"] = str_repeat(" ",$level * 5).$file;
				$returnvalue = array_merge($returnvalue,$this->getPath($root.$file."/",$level+1));
			}
		}

		return $returnvalue;
	}

	function readDir($path) {
		$handle = opendir($path);

		while ($file = readdir ($handle)) {
			if ($file != "." && $file != "..") $returnvalue[] = $file;
		}
		closedir($handle);

		return $returnvalue;
	}

	function makeSelect($preselection) {
		$pfad = $this->getPath($this->pfad);

		foreach ($pfad as $key => $value) {
			if ($preselection == $key) {
				echo "<option value=\"$key\" selected=\"selected\">$value</option>";
			} else {
				echo "<option value=\"$key\">$value</option>";
			}
		}
	}
}

$pfad = new pfad($cfgClient[$client]['path']['frontend'].$cfgClient[$client]['upload']);

echo "<table cellspacing=\"0\" cellpadding=\"10\" border=\"0\">";

echo "<tr><td>Bilderpfad:</td>";
echo "<td><select size=\"1\" name=\"CMS_VAR[0]\" />";
$pfad->makeSelect("CMS_VALUE[0]");
echo "</td>";

echo "<tr><td>Thumbnailpfad:</td>";
echo "<td><select size=\"1\" name=\"CMS_VAR[1]\" />";
$pfad->makeSelect("CMS_VALUE[1]");
echo "</td>";

echo "<tr><td>Thumbnailbreite (Max.):</td>";
echo "<td><input type=\"text\" name=\"CMS_VAR[2]\" value=\"CMS_VALUE[2]\" size=\"5\" /></td>";

echo "<tr><td>Thumbnailhöhe (Max.):</td>";
echo "<td><input type=\"text\" name=\"CMS_VAR[3]\" value=\"CMS_VALUE[3]\" size=\"5\" /></td>";

echo "<tr><td>Anzahl Spalten:</td>";
echo "<td><input type=\"text\" name=\"CMS_VAR[4]\" value=\"CMS_VALUE[4]\" size=\"5\" /></td>";

echo "<tr><td>Anzahl Zeilen:</td>";
echo "<td><input type=\"text\" name=\"CMS_VAR[5]\" value=\"CMS_VALUE[5]\" size=\"5\" /></td>";

echo "<tr><td>Text für Previous-Link:</td>";
echo "<td><input type=\"text\" name=\"CMS_VAR[6]\" value=\"CMS_VALUE[6]\" size=\"15\" /></td>";

echo "<tr><td>Text für Next-Link:</td>";
echo "<td><input type=\"text\" name=\"CMS_VAR[7]\" value=\"CMS_VALUE[7]\" size=\"15\" /></td>";

echo "</table>";
Output-Script

Code: Alles auswählen

<?
/***********************************************
* CONTENIDO MODUL - OUTPUT
*
* Modulname   :	    w3concepts.gallery.v1
* Author      :     Andreas Kummer
* Copyright   :     mumprecht & kummer w3concepts
* Created     :     30-08-2004
* Modified    :     30-08-2004
************************************************/

class gallery {

	function gallery() {
		// initialwerte setzen
		$this->setInitValues();

		// aussteigen, falls initialwerte nicht sinnvoll
		if (!$this->checkInitValues()) return false;

		// quellverzeichnis auslesen
		$this->readDir();

		// zeiger für showNextPicture setzen
		if (empty($_REQUEST['pos'])) {
			$this->showNextPictureSeq = -1;
		} else {
			$this->showNextPictureSeq = $_REQUEST['pos'] - 1;
		}

		// datenbankzugriff initialisieren
		$this->db = new DB_Contenido;

		// galerie ausgeben
		$this->showGallery();

		// gegebenenfalls navigation ausgeben
		$this->showNavigation();

	}

	function setInitValues() {
		// konfigurationswerte aus dem input-script
		// übernehmen
		$this->path['pictures'] = "CMS_VALUE[0]";
		$this->path['thumbs'] = "CMS_VALUE[1]";
		$this->path['upload'] = $GLOBALS['cfgClient']["{$GLOBALS['client']}"]['upload'];
		$this->path['html'] = $GLOBALS['cfgClient']["{$GLOBALS['client']}"]['path']['htmlpath'];
		$this->abspath['pictures'] = $GLOBALS['cfgClient']["{$GLOBALS['client']}"]['path']['frontend'].$GLOBALS['cfgClient']["{$GLOBALS['client']}"]['upload'].$this->path['pictures'];
		$this->abspath['thumbs'] = $GLOBALS['cfgClient']["{$GLOBALS['client']}"]['path']['frontend'].$GLOBALS['cfgClient']["{$GLOBALS['client']}"]['upload'].$this->path['thumbs'];
		$this->htmlpath = $GLOBALS['cfgClient']["{$GLOBALS['client']}"]['path']['htmlpath'].$GLOBALS['cfgClient']["{$GLOBALS['client']}"]['upload'];
		$this->thumbnailSize['width'] = "CMS_VALUE[2]";
		$this->thumbnailSize['height'] = "CMS_VALUE[3]";
		$this->tableSize['cols'] = "CMS_VALUE[4]";
		$this->tableSize['rows'] = "CMS_VALUE[5]";
		$this->link['previous'] = "CMS_VALUE[6]";
		$this->link['next'] = "CMS_VALUE[7]";
	}

	function checkInitValues() {
		// prüfen, ob es sich bei den übergebenen pfaden
		// um tatsächlich vorhandene pfade im dateisystem
		// handelt. gegebenenfalls wird eine ausgabe
		// an den browser vorgenommen und false zurückgegeben.
		if (!chdir($this->abspath['pictures'])) {
			echo "<p>Das Verzeichnis '{$this->abspath['pictures']}' existiert im Dateisystem
				des Servers nicht. Entweder müssen Sie es noch anlegen oder die
				Konfiguration Ihres Modules anpassen.</p>";
			return false;
		}
		if (!chdir($this->abspath['thumbs'])) {
			echo "<p>Das Verzeichnis '{$this->abspath['thumbs']}' existiert im Dateisystem
				des Servers nicht. Entweder müssen Sie es noch anlegen oder die
				Konfiguration Ihres Modules anpassen.</p>";
			return false;			
		}

		if ($this->thumbnailSize['width'] == '') $this->thumbnailSize['width'] = 100;
		if ($this->thumbnailSize['height'] == '') $this->thumbnailSize['height'] = 100;

		if ($this->tableSize['cols'] == '') $this->tableSize['cols'] = 3;
		if ($this->tableSize['rows'] == '') $this->tableSize['rows'] = 3;

		if ($this->link['previous'] == '') $this->link['previous'] = '[:: rückwärts ]';
		if ($this->link['next'] == '') $this->link['next'] = '[ vorwärts ::]';


		// rückgabe im erfolgsfall
		return true;
	}

	function readDir() {
		$dir = opendir($this->abspath['pictures']);
		while ($file = readdir($dir)) {
			$bildinfo = getimagesize($this->abspath['pictures'].$file);
			if (!empty($bildinfo)) { 
				$picture[] = $file;
			}
		}
		sort($picture[]);
		closedir($dir);

		foreach ($picture as $picture2) {
			if (!empty($picture2)) $this->picture[] = $picture2;
		}
	}

	function showNextPicture() {
		// zeiger um eins erhöhen
		$this->showNextPictureSeq++;

		// wenn keine bild mehr vorhanden ist, false zurück geben
		if ($this->showNextPictureSeq >= count($this->picture)) return '';

		// thumbnail generieren falls erforderlich
		$size = $this->generateThumb($this->picture["{$this->showNextPictureSeq}"]);

		// originalgrösse des bildes ermitteln
		$originalsize = getimagesize($this->abspath['pictures'].$this->picture["{$this->showNextPictureSeq}"]);

		// referenz zurück geben
		//return "<a href=\"#\" onClick=\"window.open('{$this->path['html']}popupviewer.php?uri={$this->path['upload']}{$this->path['pictures']}{$this->picture[$this->showNextPictureSeq]}','bild','width={$originalsize[0]},height={$originalsize[1]},top=10,left=10,scrollbars=no,topmargin=0,leftmargin=0');bild.document.body.style.margin=0;\"><img src=\"{$this->htmlpath}{$size['filename']}\" width=\"{$size['width']}\" height=\"{$size['height']}\" /></a>";
		return "<a href=\"javascript:window.open('{$this->path['html']}popupviewer.php?uri={$this->path['upload']}{$this->path['pictures']}{$this->picture[$this->showNextPictureSeq]}','bild','width={$originalsize[0]},height={$originalsize[1]},top=10,left=10,scrollbars=no,topmargin=0,leftmargin=0');bild.document.body.style.margin=0;\"><img src=\"{$this->htmlpath}{$size['filename']}\" width=\"{$size['width']}\" height=\"{$size['height']}\" /></a>";
	}

	function generateThumb($filename) {

		$src_image_size = getimagesize($this->abspath['pictures'].$filename);

		// prüfen, ob thumbnail bereits vorhanden ist
		if (!file_exists("{$this->abspath['thumbs']}{$this->thumbnailSize['width']}.{$this->thumbnailSize['height']}.$filename.jpg")) {

			// ermitteln ob das bild auf bestimmte höhe oder bestimmte breite zu reduzieren ist
			// sowie ermitteln, um welchen faktor das bild zu verkleinern ist
			if ($src_image_size[0]/$src_image_size[1] > $this->thumbnailSize['width']/$this->thumbnailSize['height']) {
				$verkleinerungsfaktor = $this->thumbnailSize['width']/$src_image_size[0];
			} else {
				$verkleinerungsfaktor = $this->thumbnailSize['height']/$src_image_size[1];
			}

			// berechnen der thumbnailgrösse
			$bildhoehe = round($src_image_size[1] * $verkleinerungsfaktor);
			$bildbreite = round($src_image_size[0] * $verkleinerungsfaktor);

			// thumbnail erstellen
			$dst_im = imagecreatetruecolor($bildbreite,$bildhoehe);
			if ($src_image_size[2] == 1) {
				$src_im = imagecreatefromGIF("{$this->abspath['pictures']}$filename");
			} elseif ($src_image_size[2] == 2) {
				$src_im = @ImageCreateFromJPEG("{$this->abspath['pictures']}$filename");
			} else {
				$src_im = @imagecreatefromgd("{$this->abspath['pictures']}$filename");
			}
			imagecopyresampled ($dst_im,$src_im,0,0,0,0,$bildbreite,$bildhoehe,$src_image_size[0],$src_image_size[1]);
			imagejpeg ($dst_im,"{$this->abspath['thumbs']}{$this->thumbnailSize['width']}.{$this->thumbnailSize['height']}.$filename.jpg",100);
			
			$size['width'] = $bildbreite;
			$size['height'] = $bildhoehe;
		} else {
			$thumbnailsize = getimagesize("{$this->abspath['thumbs']}{$this->thumbnailSize['width']}.{$this->thumbnailSize['height']}.$filename.jpg");
			$size['width'] = $thumbnailsize[0];
			$size['height'] = $thumbnailsize[1];
		}

		$size['filename'] = "{$this->path['thumbs']}{$this->thumbnailSize['width']}.{$this->thumbnailSize['height']}.$filename.jpg";
	
		return $size;
	}

	function getDescription() {
		
		$sql = "SELECT description FROM {$GLOBALS['cfg']['tab']['upl']}
			WHERE
				filename = '{$this->picture[$this->showNextPictureSeq]}'
				AND dirname = '{$this->path['pictures']}'
			";

		$this->db->query($sql);
		$this->db->next_record();

		return $this->db->f("description");;
	}

	function showGallery() {

		$cellwidth = floor(100/$this->tablesize['cols']);
		echo "<table width=\"100%\">\n";
		for ($i = 0;$i < $this->tableSize['rows'];$i++) {
			$beschreibung = null;

			echo "<tr>\n";			
			for ($j = 0;$j < $this->tableSize['cols'];$j++) {
				echo "<td align=\"left\" valign=\"top\" width=\"$cellwidth\">\n".$this->showNextPicture()."\n</td>\n";
				$beschreibung[] = $this->getDescription();
			}
			echo "</tr>\n";

			echo "<tr>\n";
			for ($j = 0;$j < $this->tableSize['cols'];$j++) {
				echo "<td align=\"left\" valign=\"top\" width=\"$cellwidth\" style=\"padding-bottom:10px;\">\n{$beschreibung[$j]}\n</td>\n";
			}
			echo "</tr>\n";
		}
		echo "</table>\n";
	}

	function showNavigation() {

		if ($this->tableSize['cols'] * $this->tableSize['rows'] < count($this->picture)) {
			echo "<table width=\"100%\">\n<tr>\n";

			if (!empty($_REQUEST['pos'])) {
				$pos = ($this->showNextPictureSeq <= $this->tableSize['cols'] * $this->tableSize['rows']) ? (0) : ($this->showNextPictureSeq - (2 * $this->tableSize['cols'] * $this->tableSize['rows']) + 1);
				$pos = ($pos < 0) ? (0) : ($pos);
				$link = $GLOBALS['sess']->url("front_content.php?client={$GLOBALS['client']}&lang={$GLOBALS['lang']}&idcat={$GLOBALS['idcat']}&idart={$GLOBALS['idart']}&pos=$pos");
				echo "<td style=\"text-align:left; width:33%\"><a href=\"$link\">{$this->link['previous']}</a></td>";
			} else {
				echo "<td style=\"text-align:left; width:33%\">&nbsp;</td>";
			}

			echo "<td align=\"center\" width=\"33%\">&nbsp;</td>";

			if ($this->showNextPictureSeq + 1 < count($this->picture)) {
				$pos = $this->showNextPictureSeq + 1;
				$link = $GLOBALS['sess']->url("front_content.php?client={$GLOBALS['client']}&lang={$GLOBALS['lang']}&idcat={$GLOBALS['idcat']}&idart={$GLOBALS['idart']}&pos=$pos");
				echo "<td style=\"text-align:right; width:33%\"><a href=\"$link\">{$this->link['next']}</a></td>";
			} else {
				echo "<td style=\"text-align:right; width:33%\">&nbsp;</td>";
			}

			echo "</tr>\n</table>\n";
		}
	}

}

$gallery = new gallery();
?>
popupviewer.php

Code: Alles auswählen

<html>

        <head>
                <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
                <meta name="generator" content="Adobe GoLive 5">
                <title></title>
                <style media="screen" type="text/css"><!--
#layer1 { position: absolute; top: 0px; left: 0px; visibility: visible }
--></style>
<SCRIPT TYPE="text/javascript">

<!--
function targetopener(mylink, closeme, closeonly)
{
if (! (window.focus && window.opener))return true;
window.opener.focus();
if (! closeonly)window.opener.location.href=mylink.href;
if (closeme)window.close();
return false;
}
//-->

</SCRIPT>
        </head>

        <body bgcolor="#ffffff">
                <div id="layer1">
                        <a href="/"  onClick="return targetopener(this,true,true)"><img src="<?print $_GET['uri'];?>" border="0"></a></div>
                <p></p>
        </body>

</html>
Für Feedback bin ich wie immer sehr dankbar. Kritik ist erlaubt! :wink:

gruss,
andreas
aitsu.org :: schnell - flexibel - komfortabel :: Version 2.2.0 (since June 22, 2011) (jetzt mit dual license GPL/kommerziell)

kummer
Beiträge: 2423
Registriert: Do 6. Mai 2004, 09:17
Wohnort: Bern, Schweiz
Kontaktdaten:

Beitrag von kummer » Mi 22. Sep 2004, 10:37

ein einfacher download als zip-file kann hier vorgenommen werden:
http://www.w3concepts.net/1/1/51/145.html

gruss,
andreas
aitsu.org :: schnell - flexibel - komfortabel :: Version 2.2.0 (since June 22, 2011) (jetzt mit dual license GPL/kommerziell)

marphin
Beiträge: 196
Registriert: Mo 24. Nov 2003, 13:01

Beitrag von marphin » Mi 22. Sep 2004, 12:53

Hallo Andreas,

irgendwas mache ich wohl falsch, denn ich habe keine Ausgabe der Thumbnails und Bilder. Ich habe unter "upload" das Verzeichnis "pictures" mit dem Unterverzeichnis "thumbs" erstellt, habe aber bei der Vorkonfiguration des Templates nur leere Dropdownfelder bei Bilderquelle und Thumbnailquelle. Die Verzeichnisse müssten doch laut Modul richtig sein - oder nicht? Zumindest müsste ich doch in den Dropdowns etwas angezeigt bekommen.

Wäre nett, wenn Du mir helfen könntest.

Gruß, Martin

kummer
Beiträge: 2423
Registriert: Do 6. Mai 2004, 09:17
Wohnort: Bern, Schweiz
Kontaktdaten:

Beitrag von kummer » Mi 22. Sep 2004, 13:48

es könnte sein, dass du gar keinen client eingerichtet hast (ich verwende nämlich im code die variable $cfgClient. dann sind die ausgangspfade natürlich falsch. ich schau mal nach, was sich in diesem fall machen lässt.

poste es hier, sobald ich eine lösung habe.
aitsu.org :: schnell - flexibel - komfortabel :: Version 2.2.0 (since June 22, 2011) (jetzt mit dual license GPL/kommerziell)

kummer
Beiträge: 2423
Registriert: Do 6. Mai 2004, 09:17
Wohnort: Bern, Schweiz
Kontaktdaten:

Beitrag von kummer » Mi 22. Sep 2004, 14:02

kannst du mal folgenden code in ein modul stecken und die ausgabe hier publizieren?

Code: Alles auswählen

<?
echo '<pre>';
var_dump($cfgClient);
echo "\n\n\n";
var_dump($cfg);
echo '</pre>';
?>
weil eigentlich müsstest du die variable $cfgClient gefüllt haben. dann sollte es auch funktionieren.

die ausgabe würde das klären.
aitsu.org :: schnell - flexibel - komfortabel :: Version 2.2.0 (since June 22, 2011) (jetzt mit dual license GPL/kommerziell)

marphin
Beiträge: 196
Registriert: Mo 24. Nov 2003, 13:01

Beitrag von marphin » Mi 22. Sep 2004, 15:15

hier ist die Ausgabe:

Code: Alles auswählen

array(3) {
  ["upl"]=>
  array(2) {
    ["forbidden"]=>
    string(24) ".php|.htaccess|.htpasswd"
    ["protected"]=>
    string(19) "img/,pdf/,swf/,zip/"
  }
  ["set"]=>
  string(3) "set"
  [1]=>
  array(7) {
    ["path"]=>
    array(2) {
      ["frontend"]=>
      string(43) "C:/apachefriends/xampp/htdocs/fussball/cms/"
      ["htmlpath"]=>
      string(30) "http://localhost/fussball/cms/"
    }
    ["images"]=>
    string(37) "http://localhost/fussball/cms/images/"
    ["upload"]=>
    string(7) "upload/"
    ["htmlpath"]=>
    array(1) {
      ["frontend"]=>
      string(30) "http://localhost/fussball/cms/"
    }
    ["upl"]=>
    array(3) {
      ["path"]=>
      string(50) "C:/apachefriends/xampp/htdocs/fussball/cms/upload/"
      ["htmlpath"]=>
      string(37) "http://localhost/fussball/cms/upload/"
      ["frontendpath"]=>
      string(7) "upload/"
    }
    ["css"]=>
    array(1) {
      ["path"]=>
      string(47) "C:/apachefriends/xampp/htdocs/fussball/cms/css/"
    }
    ["js"]=>
    array(1) {
      ["path"]=>
      string(46) "C:/apachefriends/xampp/htdocs/fussball/cms/js/"
    }
  }
}



array(11) {
  ["version"]=>
  string(5) "4.4.4"
  ["path"]=>
  array(20) {
    ["contenido"]=>
    string(49) "C:/apachefriends/xampp/htdocs/fussball/contenido/"
    ["contenido_fullhtml"]=>
    string(36) "http://localhost/fussball/contenido/"
    ["frontend"]=>
    string(38) "C:/apachefriends/xampp/htdocs/fussball"
    ["phplib"]=>
    string(46) "C:/apachefriends/xampp/htdocs/fussball/conlib/"
    ["pear"]=>
    string(44) "C:/apachefriends/xampp/htdocs/fussball/pear/"
    ["wysiwyg"]=>
    string(71) "C:/apachefriends/xampp/htdocs/fussball/contenido/external/wysiwyg/spaw/"
    ["wysiwyg_html"]=>
    string(58) "http://localhost/fussball/contenido/external/wysiwyg/spaw/"
    ["contenido_html"]=>
    string(13) "../contenido/"
    ["statfile"]=>
    string(9) "statfile/"
    ["includes"]=>
    string(9) "includes/"
    ["xml"]=>
    string(4) "xml/"
    ["images"]=>
    string(7) "images/"
    ["classes"]=>
    string(8) "classes/"
    ["cronjobs"]=>
    string(9) "cronjobs/"
    ["scripts"]=>
    string(8) "scripts/"
    ["styles"]=>
    string(7) "styles/"
    ["plugins"]=>
    string(8) "plugins/"
    ["locale"]=>
    string(7) "locale/"
    ["frontendtemplate"]=>
    string(18) "external/frontend/"
    ["templates"]=>
    string(19) "templates/standard/"
  }
  ["sql"]=>
  array(1) {
    ["sqlprefix"]=>
    string(3) "con"
  }
  ["color"]=>
  array(10) {
    ["table_header"]=>
    string(7) "#a9aec2"
    ["table_light"]=>
    string(7) "#F4F4F7"
    ["table_dark"]=>
    string(7) "#E8E8EE"
    ["table_border"]=>
    string(7) "#747488"
    ["table_light_offline"]=>
    string(7) "#E9E5E5"
    ["table_dark_offline"]=>
    string(7) "#E2D9D9"
    ["notify_error"]=>
    string(7) "#660000"
    ["notify_warning"]=>
    string(7) "#666600"
    ["notify_info"]=>
    string(7) "#006600"
    ["notify"]=>
    string(7) "#006600"
  }
  ["lang"]=>
  array(5) {
    ["de_DE"]=>
    string(14) "lang_de_DE.xml"
    ["en_US"]=>
    string(14) "lang_en_US.xml"
    ["nl_NL"]=>
    string(14) "lang_nl_NL.xml"
    ["he_HE"]=>
    string(14) "lang_he_HE.xml"
    ["fr_FR"]=>
    string(14) "lang_fr_FR.xml"
  }
  ["templates"]=>
  array(87) {
    ["frameset"]=>
    string(13) "frameset.html"
    ["frameset_content"]=>
    string(21) "frameset_content.html"
    ["frameset_menuless_content"]=>
    string(30) "frameset_menuless_content.html"
    ["header"]=>
    string(11) "header.html"
    ["submenu"]=>
    string(12) "submenu.html"
    ["subnav"]=>
    string(20) "template.subnav.html"
    ["generic_list"]=>
    string(17) "generic_list.html"
    ["generic_select"]=>
    string(20) "template.select.html"
    ["generic_left_top"]=>
    string(30) "template.generic_left_top.html"
    ["generic_menu"]=>
    string(26) "template.generic_menu.html"
    ["generic_subnav"]=>
    string(28) "template.generic_subnav.html"
    ["generic_form"]=>
    string(26) "template.generic_form.html"
    ["generic_table_form"]=>
    string(32) "template.generic_table_form.html"
    ["generic_page"]=>
    string(26) "template.generic_page.html"
    ["left_top"]=>
    string(22) "template.left_top.html"
    ["right_top_blank"]=>
    string(29) "template.right_top_blank.html"
    ["newsletter_left_top"]=>
    string(33) "template.newsletter_left_top.html"
    ["newsletter_menu"]=>
    string(29) "template.newsletter_menu.html"
    ["newsletter_edit"]=>
    string(29) "template.newsletter_edit.html"
    ["recipient_left_top"]=>
    string(32) "template.recipient_left_top.html"
    ["recipient_menu"]=>
    string(28) "template.recipient_menu.html"
    ["recipient_edit"]=>
    string(28) "template.recipient_edit.html"
    ["con_edit_form"]=>
    string(27) "template.con_edit_form.html"
    ["con_str_overview"]=>
    string(30) "template.con_str_overview.html"
    ["con_art_overview"]=>
    string(30) "template.con_art_overview.html"
    ["con_left_top"]=>
    string(26) "template.con_left_top.html"
    ["con_subnav"]=>
    string(24) "template.con_subnav.html"
    ["str_overview"]=>
    string(26) "template.str_overview.html"
    ["upl_left_top"]=>
    string(26) "template.upl_left_top.html"
    ["upl_dirs_overview"]=>
    string(31) "template.upl_dirs_overview.html"
    ["upl_files_overview"]=>
    string(32) "template.upl_files_overview.html"
    ["lay_overview"]=>
    string(26) "template.lay_overview.html"
    ["lay_edit_form"]=>
    string(27) "template.lay_edit_form.html"
    ["mod_overview"]=>
    string(26) "template.mod_overview.html"
    ["mod_edit_form"]=>
    string(27) "template.mod_edit_form.html"
    ["tpl_overview"]=>
    string(26) "template.tpl_overview.html"
    ["tpl_edit_form"]=>
    string(27) "template.tpl_edit_form.html"
    ["style_files_overview"]=>
    string(34) "template.style_files_overview.html"
    ["style_edit_form"]=>
    string(29) "template.style_edit_form.html"
    ["style_left_top"]=>
    string(28) "template.style_left_top.html"
    ["style_new_form"]=>
    string(28) "template.style_new_form.html"
    ["js_files_overview"]=>
    string(31) "template.js_files_overview.html"
    ["js_edit_form"]=>
    string(26) "template.js_edit_form.html"
    ["js_left_top"]=>
    string(25) "template.js_left_top.html"
    ["js_new_form"]=>
    string(25) "template.js_new_form.html"
    ["stat_left_top"]=>
    string(27) "template.stat_left_top.html"
    ["stat_overview"]=>
    string(27) "template.stat_overview.html"
    ["stat_top"]=>
    string(22) "template.stat_top.html"
    ["stat_menu"]=>
    string(23) "template.stat_menu.html"
    ["rights_left_top"]=>
    string(29) "template.rights_left_top.html"
    ["rights_menu"]=>
    string(25) "template.rights_menu.html"
    ["rights_overview"]=>
    string(29) "template.rights_overview.html"
    ["rights_details"]=>
    string(28) "template.rights_details.html"
    ["rights_create"]=>
    string(27) "template.rights_create.html"
    ["log_menu"]=>
    string(22) "template.log_menu.html"
    ["log_main"]=>
    string(22) "template.log_main.html"
    ["left_top_blank"]=>
    string(28) "template.left_top_blank.html"
    ["subnav_blank"]=>
    string(26) "template.subnav_blank.html"
    ["tplcfg_edit_form"]=>
    string(30) "template.tplcfg_edit_form.html"
    ["lang_overview"]=>
    string(27) "template.lang_overview.html"
    ["lang_menu"]=>
    string(23) "template.lang_menu.html"
    ["lang_edit"]=>
    string(23) "template.lang_edit.html"
    ["lang_left_top"]=>
    string(27) "template.lang_left_top.html"
    ["client_menu"]=>
    string(25) "template.client_menu.html"
    ["client_edit"]=>
    string(25) "template.client_edit.html"
    ["client_left_top"]=>
    string(29) "template.client_left_top.html"
    ["mycontenido_settings"]=>
    string(34) "template.mycontenido_settings.html"
    ["mycontenido_overview"]=>
    string(34) "template.mycontenido_overview.html"
    ["mycontenido_start"]=>
    string(31) "template.mycontenido_start.html"
    ["mycontenido_lastarticles"]=>
    string(38) "template.mycontenido_lastarticles.html"
    ["mycontenido_subnav"]=>
    string(32) "template.mycontenido_subnav.html"
    ["grouprights_left_top"]=>
    string(34) "template.grouprights_left_top.html"
    ["grouprights_create"]=>
    string(32) "template.grouprights_create.html"
    ["grouprights_subnav"]=>
    string(32) "template.grouprights_subnav.html"
    ["grouprights_memberlist"]=>
    string(36) "template.grouprights_memberlist.html"
    ["grouprights_memberselect"]=>
    string(38) "template.grouprights_memberselect.html"
    ["grouprights_details"]=>
    string(33) "template.grouprights_details.html"
    ["grouprights_menu"]=>
    string(30) "template.grouprights_menu.html"
    ["grouprights_overview"]=>
    string(34) "template.grouprights_overview.html"
    ["welcome"]=>
    string(21) "template.welcome.html"
    ["info"]=>
    string(18) "template.info.html"
    ["symbolhelp"]=>
    string(24) "template.symbolhelp.html"
    ["systam_variables"]=>
    string(30) "template.system_variables.html"
    ["system_subnav"]=>
    string(27) "template.system_subnav.html"
    ["system_errorreport"]=>
    string(32) "template.system_errorreport.html"
    ["systam_variables_mailattach"]=>
    string(38) "template.system_sysval_mailattach.html"
    ["blank"]=>
    string(19) "template.blank.html"
  }
  ["cache"]=>
  array(3) {
    ["disable"]=>
    bool(true)
    ["dir"]=>
    string(6) "cache/"
    ["lifetime"]=>
    int(3600)
  }
  ["debug"]=>
  array(1) {
    ["rendering"]=>
    bool(false)
  }
  ["bugreport"]=>
  array(1) {
    ["targetemail"]=>
    string(22) "bugreport@contenido.de"
  }
  ["AvailableCharsets"]=>
  array(29) {
    [0]=>
    string(10) "iso-8859-1"
    [1]=>
    string(10) "iso-8859-2"
    [2]=>
    string(10) "iso-8859-3"
    [3]=>
    string(10) "iso-8859-4"
    [4]=>
    string(10) "iso-8859-5"
    [5]=>
    string(10) "iso-8859-6"
    [6]=>
    string(10) "iso-8859-7"
    [7]=>
    string(10) "iso-8859-8"
    [8]=>
    string(10) "iso-8859-9"
    [9]=>
    string(11) "iso-8859-10"
    [10]=>
    string(11) "iso-8859-11"
    [11]=>
    string(11) "iso-8859-12"
    [12]=>
    string(11) "iso-8859-13"
    [13]=>
    string(11) "iso-8859-14"
    [14]=>
    string(11) "iso-8859-15"
    [15]=>
    string(12) "windows-1250"
    [16]=>
    string(12) "windows-1251"
    [17]=>
    string(12) "windows-1252"
    [18]=>
    string(12) "windows-1257"
    [19]=>
    string(6) "koi8-r"
    [20]=>
    string(4) "big5"
    [21]=>
    string(6) "gb2312"
    [22]=>
    string(5) "utf-8"
    [23]=>
    string(5) "utf-7"
    [24]=>
    string(14) "x-user-defined"
    [25]=>
    string(6) "euc-jp"
    [26]=>
    string(14) "ks_c_5601-1987"
    [27]=>
    string(7) "tis-620"
    [28]=>
    string(9) "SHIFT_JIS"
  }
  ["tab"]=>
  array(52) {
    ["art"]=>
    string(7) "con_art"
    ["art_lang"]=>
    string(12) "con_art_lang"
    ["cat"]=>
    string(7) "con_cat"
    ["cat_art"]=>
    string(11) "con_cat_art"
    ["cat_tree"]=>
    string(12) "con_cat_tree"
    ["cat_lang"]=>
    string(12) "con_cat_lang"
    ["clients"]=>
    string(11) "con_clients"
    ["clients_lang"]=>
    string(16) "con_clients_lang"
    ["code"]=>
    string(8) "con_code"
    ["content"]=>
    string(11) "con_content"
    ["lang"]=>
    string(8) "con_lang"
    ["lay"]=>
    string(7) "con_lay"
    ["mod"]=>
    string(7) "con_mod"
    ["news"]=>
    string(8) "con_news"
    ["news_rcp"]=>
    string(12) "con_news_rcp"
    ["stat"]=>
    string(8) "con_stat"
    ["stat_archive"]=>
    string(16) "con_stat_archive"
    ["status"]=>
    string(10) "con_status"
    ["tpl"]=>
    string(12) "con_template"
    ["tpl_conf"]=>
    string(17) "con_template_conf"
    ["type"]=>
    string(8) "con_type"
    ["upl"]=>
    string(7) "con_upl"
    ["keywords"]=>
    string(12) "con_keywords"
    ["area"]=>
    string(8) "con_area"
    ["actions"]=>
    string(11) "con_actions"
    ["nav_main"]=>
    string(12) "con_nav_main"
    ["nav_sub"]=>
    string(11) "con_nav_sub"
    ["rights"]=>
    string(10) "con_rights"
    ["container"]=>
    string(13) "con_container"
    ["container_conf"]=>
    string(18) "con_container_conf"
    ["files"]=>
    string(9) "con_files"
    ["framefiles"]=>
    string(15) "con_frame_files"
    ["plugins"]=>
    string(11) "con_plugins"
    ["phplib_active_sessions"]=>
    string(26) "con_phplib_active_sessions"
    ["phplib_auth_user_md5"]=>
    string(24) "con_phplib_auth_user_md5"
    ["actionlog"]=>
    string(13) "con_actionlog"
    ["link"]=>
    string(8) "con_link"
    ["meta_type"]=>
    string(13) "con_meta_type"
    ["meta_tag"]=>
    string(12) "con_meta_tag"
    ["groups"]=>
    string(10) "con_groups"
    ["group_prop"]=>
    string(14) "con_group_prop"
    ["groupmembers"]=>
    string(16) "con_groupmembers"
    ["config"]=>
    string(10) "con_config"
    ["config_client"]=>
    string(17) "con_config_client"
    ["data"]=>
    string(8) "con_data"
    ["lang_bereich"]=>
    string(16) "con_lang_bereich"
    ["lang_key"]=>
    string(12) "con_lang_key"
    ["lang_value"]=>
    string(14) "con_lang_value"
    ["sequence"]=>
    string(12) "con_sequence"
    ["sessions"]=>
    string(12) "con_sessions"
    ["user_prop"]=>
    string(13) "con_user_prop"
    ["inuse"]=>
    string(9) "con_inuse"
  }
}

ich hoffe, ich habe das richtig verstanden - die Ausgabe aus dem frontend

kummer
Beiträge: 2423
Registriert: Do 6. Mai 2004, 09:17
Wohnort: Bern, Schweiz
Kontaktdaten:

Beitrag von kummer » Mi 22. Sep 2004, 15:19

absolut richtig. das müsste von mir aus gesehen eigentlich funktionieren. allerdings habe ich unix nicht windows. könnte daran liegen. hast du contenido auch irgendwo online?
aitsu.org :: schnell - flexibel - komfortabel :: Version 2.2.0 (since June 22, 2011) (jetzt mit dual license GPL/kommerziell)

marphin
Beiträge: 196
Registriert: Mo 24. Nov 2003, 13:01

Beitrag von marphin » Mi 22. Sep 2004, 16:47

Ja, mahrmals sogar. Ich werde mal eben ein neues Template erstellen und die Sache da mal testen.

marphin
Beiträge: 196
Registriert: Mo 24. Nov 2003, 13:01

Beitrag von marphin » Mi 22. Sep 2004, 17:22

Also, online funktioniert es, aber unter Windows XP habe ich Javascript-Fehlermeldungen beim Öffnen der POPUPS. Auf dem Rechner mit WIN2000 läuft es super. Das Problem werde ich auch noch lösen.

Gibt es eigentlich - das war eine meiner ursprünglichen Fragen - die Möglichkeit, im POPUP eine Beschreibung anzuzeigen?

Ich habe nun übrigens schon mehrere Probleme mit XAMPP gehabt, ich überlege ob ich wieder zurück zu easyphp wechseln soll. Ich würde ja auch auf Linux wechseln, da ich aber mit PS7 und DW arbeite, geht das schlecht.

Karl
Beiträge: 185
Registriert: Fr 28. Nov 2003, 19:07
Kontaktdaten:

Beitrag von Karl » Mi 22. Sep 2004, 19:02

Kann man die Gallerie irgendwo in action sehen?
Das mit dem Kommentar im Popup würd mich auch interessieren ;-)

Gruss
Karl
Gruss Karl

Karl
Beiträge: 185
Registriert: Fr 28. Nov 2003, 19:07
Kontaktdaten:

Beitrag von Karl » Mi 22. Sep 2004, 19:04

Kann man die Gallerie irgendwo in action sehen?
Das mit dem Kommentar im Popup würd mich auch interessieren ;-)

Gruss
Karl
Gruss Karl

kummer
Beiträge: 2423
Registriert: Do 6. Mai 2004, 09:17
Wohnort: Bern, Schweiz
Kontaktdaten:

Beitrag von kummer » Mi 22. Sep 2004, 20:20

der kommentar ist zurzeit nur bei den thumbnails. aber das lässt sich natürlich auch im popup machen. aber dazu müsste man die galerie noch etwas anpassen. respektive einfach das file 'popupviewer.php'.
aitsu.org :: schnell - flexibel - komfortabel :: Version 2.2.0 (since June 22, 2011) (jetzt mit dual license GPL/kommerziell)

Karl
Beiträge: 185
Registriert: Fr 28. Nov 2003, 19:07
Kontaktdaten:

Beitrag von Karl » Mi 22. Sep 2004, 21:00

Hab das Modul eingebaut. Thumbnails klappen, das Popup Fenster geht auf, aber Fehler 404, Seite kann nicht gefunden werden :-(
Welchen dummen Fehler hab ich nun wieder gemacht?

Gruss Karl
Gruss Karl

Karl
Beiträge: 185
Registriert: Fr 28. Nov 2003, 19:07
Kontaktdaten:

Beitrag von Karl » Mi 22. Sep 2004, 21:18

... extrem dummer Fehler!!

hab den popupviewer auf die falsche Site hochgeladen! :oops:
Gruss Karl

derlex
Beiträge: 15
Registriert: Mi 22. Sep 2004, 12:59
Wohnort: Innsbruck
Kontaktdaten:

Bei den kleinen Bildern der Rahmen

Beitrag von derlex » Do 23. Sep 2004, 15:05

Hi, hab das Modul eingebaut, funktioniert tadellos, aber wie bekomm ich die hässlichen fetten rahmen rund um die Tumbnails herum weg??

lg derlex :cry:
;-)

Gesperrt