Keine Ahnung ob das hier richtig ist?
Aber da ich auch nicht so der PHP-Guro bin versuche ich mal mein Glück.
Da ich von der nuke-faq total abgetan bin habe ich mich mal umgesehen und bin auf phpmyfaq gestoßen.
Das Teil finde ich einfach genial. (nur mal so am rande)
Nun zu meinem Problem:
Ich hab es nun geschaft die faq in die Seite zu intigrieren.
faq.php im web-root
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2001 by Francisco Burzi (fburzi@ncc.org.ve) */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("block-faq.php",$_SERVER['PHP_SELF']))
if (!isset($mainfile)) { include("mainfile.php"); }
$index = 1;
include("header.php");
include("faq/index.php");
include("footer.php");
?>
Nun wenn alles so schön geht warum dann nicht gleich als center-block.
Also die faq.php als block-faq.php nach blocks koppiert.
Und siehe da es geht nicht.
Fehlermeldung:
Fatal error: Cannot redeclare opentable() (previously declared in E:\www-root\themes\vkp-bluestyle\theme.php:34) in E:\www-root\themes\vkp-bluestyle\theme.php on line 33
Tja wo liegt da der Hund begraben?
Vieleicht kann mir jemand helfen?
Wäre echt Spitze.