> <?php > if(preg_match('#^http://(.*?)\/(.*)$#',DOKU_URL,$matches)) { > $domain = $matches[1]; > } > else $domain = DOKU_URL; > // output $domain as needed; for instance: > echo "<h3>$domain</h3>\n"; > ?> Myron to the rescue, thanks a bazillion! I appreciate the feedback regarding this belonging on the forum instead. I guess “development” mailing list actually means Dokuwiki core development, because I thought my post would fall under template development…? :) But at least now I know! On a different note, congrats everyone for the quickest Dokuwiki release in history! Is there a way for the uninitiated to be a part of the update team on dokuwiki.org? Like, for instance check plugins and mark as working, or is this preserved for the developer to do? Best regards, Eivind-- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist