From: Joby W. <joby@u.washington.edu> - 2002-11-12 18:08:00
|
I've never used Portland so this is from a quick review... Marjorie Roswell wrote: > Hello, > > I didn't like the default 1.3.3 template, so I changed it to the Portland theme. I want to retain two things: > > 1. Text across the top of each page > 2. An edit box for a search (of the full wiki, not just text titles) > > In my old 1.2 wiki, I edited the browse.hmtl file to add text to the top of every page. > > In 1.3.3. default, the navbar is at the top. In Portland it's at the bottom. > > How do add text links to the top of every page? body.tmpl -> browse.tmpl/viewsource.tmpl/editpage.tmpl -> page content -> actionbar.tmpl -> navbar.tmpl You could in body.tmpl move <?= Template('navbar') ?> above <?= $CONTENT ?>. > How do I add an edit box for a full wiki text search in there, too? > My FullTextSearch box: <?=$s?><input type="hidden" name="auto_redirect" value="1" /> <input type="text" name="s" size="15" maxlength="256" title='<?=_("Quick Search")?>' onmouseover="window.status='<?=_("Quick Search")?>'; return true;" onmouseout="window.status=''; return true;" value="FullTextSearch" /> > While I'm at it, how do I change the location for the default database? > I see these options. Is they what I change? > //define('ACCESS_LOG', '/tmp/wiki_access_log'); > //ini_set('session.save_path', 'some_other_directory'); > Last time, folks might remember, all was going great for months, until everything got deleted from /tmp. I don't want that to happen again. > index.php: section 2 (Database) change the 'directory' value (by default /tmp). jbw |