ThWboard Support-Forum (Archiv)

Ort: / Boardübersicht / XPortal Diskussion / Wieder neue Version


Seite 1 von 1

Apfelkorn schrieb am 10.09.2001 um 23:44 Uhr

Ab jetzt steht sie unter GNU General Public License :)
Aber ich habe mehrere Neuerungen eingeführt und das Design, womit es jetzt läuft, habe ich nur "ausgeliehen", weil mir selber nichts einfiel. Wird aber, sobald ich die Möglichkeit habe, ausgetauscht. Sorry DMA :)

Man sollte auch beachten, dass bei den Einstellungen in config/basic.inc.php auch zwei flg_'s sind, mit denen man bestimmen kann, ob die Haupt-Tabelle 3 oder 2-Reihig sein soll und falls 2-Reihig, die Module aus der rechten Spalte in die Linke übernommen werden sollen.

Adresse: http://orf.hl.gamigo.de/others/portal.zip

Und vorallem nicht vergessen folgende Struktur in die Datenbank einzubauen:

# --------------------------------------------------------
#
# Table structure for table 'p_access'
#

CREATE TABLE p_access (
   id tinyint(3) unsigned NOT NULL auto_increment,
   user varchar(16) NOT NULL,
   password varchar(16) NOT NULL,
   access text NOT NULL,
   PRIMARY KEY (id),
   KEY id (id)
);

#
# Dumping data for table 'p_access'
#


# --------------------------------------------------------
#
# Table structure for table 'p_modules'
#

CREATE TABLE p_modules (
   id int(10) unsigned NOT NULL auto_increment,
   intname varchar(16) NOT NULL,
   pubname varchar(20) NOT NULL,
   location tinyint(4) DEFAULT '0' NOT NULL,
   ord tinyint(3) unsigned DEFAULT '0' NOT NULL,
   PRIMARY KEY (id),
   KEY id (id),
   UNIQUE intname (intname)
);

#
# Dumping data for table 'p_modules'
#

INSERT INTO p_modules VALUES ( '1', 'linkbox', 'Navigation', '0', '0');
INSERT INTO p_modules VALUES ( '2', 'welcome', 'Willkommen', '2', '0');
INSERT INTO p_modules VALUES ( '3', 'qlinks', 'QuickLinks', '1', '0');

# --------------------------------------------------------
#
# Table structure for table 'p_styles'
#

CREATE TABLE p_styles (
   id int(10) unsigned NOT NULL auto_increment,
   name varchar(32) NOT NULL,
   portal_bg varchar(7) NOT NULL,
   portal_font varchar(7) NOT NULL,
   table_head_bg varchar(7) NOT NULL,
   table_body_bg varchar(7) NOT NULL,
   table_head_font varchar(7) NOT NULL,
   table_body_font varchar(7) NOT NULL,
   table_border varchar(7) NOT NULL,
   PRIMARY KEY (id),
   KEY id (id)
);

#
# Dumping data for table 'p_styles'
#

INSERT INTO p_styles VALUES ( '1', 'default', '#303030', '#CCCCCC', '#004499', '#204050', '#D0CCD0', '#D0CCD0', '#90CCFF');

# --------------------------------------------------------
#
# Table structure for table 'pmod_qlinks'
#

CREATE TABLE pmod_qlinks (
   id int(10) unsigned NOT NULL auto_increment,
   name varchar(16) NOT NULL,
   link varchar(255) NOT NULL,
   ord tinyint(4) DEFAULT '0' NOT NULL,
   PRIMARY KEY (id),
   KEY id (id)
);

#
# Dumping data for table 'pmod_qlinks'
#

INSERT INTO pmod_qlinks VALUES ( '1', 'apfelsoft', 'http://www.apfelsoft.de.vu', '0');
INSERT INTO pmod_qlinks VALUES ( '2', 'ThWboard', 'http://www.thwboard.de', '1');

Seite 1 von 1