[pmwiki-users] SpaceWikiWords
Patrick R. Michaud
pmichaud at pobox.com
Sun Jan 30 17:04:14 CST 2005
On Tue, Jan 25, 2005 at 12:00:42PM -0800, Iram Hernandez wrote:
>
> I set $SpaceWikiWords = 1; in my config.php, because
> the contributors to my wiki (a collaborative fiction
> wiki) prefer that the names of each group/page are
> displayed with spaces automatically. When I set the
> variable, I discovered that the variable only works
> sometimes. For example, in my template, I use $group
> and $title to display the current page a that a person
> is reading and only the $title is appropriately spaced
> and not group.
Use $Groupspaced and $Titlespaced to get spaced versions
of the group and/or title.
> Also, I use (:pagelist group=GroupName:) to create a basic
> 'table of contents' but the words are not spaced there either.
No, because (:pagelist:) is intended to give a list of page names.
If you want the words spaced there, try setting the following in
config.php:
$FPLByGroupGFmt =
"<dt><a href='\$ScriptUrl/\$Group'>\$Groupspaced</a> /</dt>";
$FPLByGroupIFmt =
"<dd><a href='\$PageUrl'>\$Namespaced</a> /</dd>";
Pm
More information about the pmwiki-users
mailing list