pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => PHPNuke 5.2-6.0 & VKP 5.5 => Thema gestartet von: am 05 Juli 2002, 10:48:34

Titel: Modul mit Tabelle plz . !!
Beitrag von: am 05 Juli 2002, 10:48:34
Hi Leute ,

Ich benötiege ein Modul ( kein Block ) mit keinen Inhalt sonder halt nur eine Seite mit 1 Tabelle ( ich pass die Tabelle dann später an )

Kann mir mal jeman da schnell helfen ?
Titel: Re: Modul mit Tabelle plz . !!
Beitrag von: am 05 Juli 2002, 11:05:50
BITTE !!!
Titel: Re: Modul mit Tabelle plz . !!
Beitrag von: dom am 05 Juli 2002, 13:18:50
falls du das VKP von hier hast, schau doch mal das Modul "Addon_Sample" an.
Titel: Re: Modul mit Tabelle plz . !!
Beitrag von: am 05 Juli 2002, 17:28:16
Ich hab das vkp  , aber ich kann mit dem Addon Sample net umgehen . Kann mir nicht jemand n Modul bauen mit ner Tabelle drin wo am besten Hallo drin steht ?? BITTE BITTE BITTE !!
Titel: Re: Modul mit Tabelle plz . !!
Beitrag von: EuMSi am 05 Juli 2002, 17:44:16
Hi,

hier hast du dein "Hallo" Modul:

<?php

/**************************************************************************/
/* PHP-NUKE: Web Portal System  (c) 2002 by Francisco Burzi               */
/* ========================================================               */
/*                                                                        */
/* 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("modules.php", $PHP_SELF)) {
    die ("You can't access this file directly...");
}

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
$index = 0; // rechte Blöcke ein: $index = 1

include("header.php");

OpenTable();
echo "<table width=\"100%\" border=\"0\">\n"
          ."<tr>\n"
              ."<td><b>Hallo</b>\n"
              ."</td>\n"
          ."</tr>\n"
    ."</table>\n";
CloseTable();

include("footer.php");
?>


kopier dir den Quelltext, leg dir einen neuen Ordner im modules-Ordner mit dem Namen "Hallo" und dann soeicherst du die Zeilen Code als index.php in den Ordner "Hallo".
Aufrufen tust Du Dein neues Modul dann so ..../modules.php?name=Hallo

So fertig.

Titel: Re: Modul mit Tabelle plz . !!
Beitrag von: am 06 Juli 2002, 20:17:54
Boooaaahh ich danke dir :-)
Genau das wollte ich haben !!
THX SO MUCH !!