Menü

Login

Aktuelle Version

Forum > Boxen auf bestimmten Seiten *

DOTLAN Intranet / Portal >> Feature Requests > Boxen auf bestimmten Seiten
Antwort erstellen
Autor Thema: Boxen auf bestimmten Seiten
Salo
08.12.2008 um 17:47 QuoteProfileSend PM
NEW

Clan: CCA
Postings: 33

Hallo,

wo kann ich im dotlan einstellen das ich zb.: die Searchbox nur im Forum sehe.

mfg
__________________
http://fettafroga.mybrute.com
 
Griffon
09.12.2008 um 00:44 QuoteProfileSend PM

NEW

Clan: dotlan.net
Postings: 1252

Ich hab dafür bereits in Beispiel:

http://www.dotlan.net/de/forum/thread/130/

Ich würde es wie folgt einfach machen.
Code:
# html/styles/deintheme.php

if(eregi($global['htmlroot']."forum/",$_SERVER['REQUEST_URI'])) {
$_BOX['left']['search'] = array(TRUE,'template',array(_("Suchen"),"box_suchen",TRUE));
}

 
kritzi
14.12.2008 um 16:49 QuoteProfileSend PM
NEW

Clan: CCA
Postings: 58

- DELETE -

[Editiert von kritzi am 14.Dec.2008 um 17:11]
 
Griffon
15.12.2008 um 02:08 QuoteProfileSend PM

NEW

Clan: dotlan.net
Postings: 1252

Alternativ kannst du das ganze auch noch auch mit anderen Abfragen machen.

Code:
if(preg_match("@^/forum/@",$_SERVER['REQUEST_URI'])) { do_something(); }



 
[ Antwort erstellen ]