Quicklinks

Fremdprodukte

Linux-PC

Migration-Probl.

Themen

Rootserver

Testpoint

pmwiki

SPIP

Die URL sind Aliases, verzweigt wird auf Grund des URL-Namens in index.php

Template-Struktur

Oberste Rubrik (toprub)

Datenbanken
/ecrire/inc-connect.php
spip_connect_db('localhost','','user','pw','protec'); Sardinia
spip_connect_db('localhost','','user','pw','protecdiv'); Diving (umfasst alle anderen)

Definiert in parmstyles.html pro Sub-Site (Protecsite like)
spip1.82ds/
1:Sardinia / Sard

spip1.82d/ (Andere Installation, andere DB)
16:Mex/Playa (ex Diving) / Mex
67:Diving / Diving
68:Pacific / Pac
305:Cozumel (ab Mai 2007) Cozumel
342:www.oneeyedpig.com (Scott Private) Oneeyedpig
84:Protec Template ("neuster Template-Stand") Template
162: Matt (nicht aktiv, gelöscht?)

Squelettes über URL:
Bsp:
http://www.proteccozumel.com/spip1.82d/squelettes/article_tpl.html

für Sardinia:
Rubrik (rubrique-x)

<BOUCLE_principal(RUBRIQUES) {id_rubrique}>
<?php
$SelSite= [(#CHARSET|SetURLVars{selsite,Sard})];
$TopRub = [(#CHARSET|SetURLVars{toprub,1})];$_GET['toprub']='1';
$rubagenda  = [(#REM|SetURLVars{rubagenda,53})];
?>
<INCLURE(page.php3){fond=rubrique_tpl}{id_rubrique}{lang}>
</BOUCLE_principal>

Artikel (article-x)

<BOUCLE_principal(ARTICLES) {id_article}>
<?php
$SelSite    = [(#REM|SetURLVars{selsite,Sard})];
$TopRub     = [(#REM|SetURLVars{toprub,1})];$_GET['toprub']='1';
$rubagenda  = [(#REM|SetURLVars{rubagenda,53})];
?>
<INCLURE(page.php3){fond=article_tpl}{id_article}{lang}>
</BOUCLE_principal>

Galerie (article-x)

<BOUCLE_principal(ARTICLES) {id_article}>
<?php
$SelSite= [(#CHARSET|SetURLVars{selsite,Sard})];
$TopRub = [(#CHARSET|SetURLVars{toprub,1})];$_GET['toprub']='1';
?>
<INCLURE(page.php3){fond=article_gallerie}{id_article}{debut_vignette}{debut_image}>
</BOUCLE_principal>

Verschachtelung der Templates

Struktur in /spip../squelettes

rubrique-x.html
  rubrique_tpl.html  (inclure) 

article-x.html
  article_tpl.html 
    parmstyles.html
    baummenu.html (Navi links)
    agenda_miniv3.html  (Delay=0, darf nicht gecachted werden)  (Conditional)
    PrExtra.html
      PrMailing.html  (Conditional)
    #FORMULAIRE_ECRIRE_AUTEUR   (Conditional)

  article_gallerie.html 
     album_image.php  (Fenster) 

Edit Page - Page History - Printable View - Aktuelle Änderungen - WikiHelp - SearchWiki
Page last modified on 09.08.2007 10:38 Uhr, visited:526