[pmwiki-users] Space in pagelist
Simon
nzskiwi at gmail.com
Tue May 12 14:20:29 CDT 2009
See http://pmwiki.org/wiki/PmWiki/PageListTemplates
<http://pmwiki.org/wiki/PmWiki/PageListTemplates>you create your own
template in a (new) page salled Site.LocalTemplates.
This overrides the local templates
2009/5/13 Steven Benmosh <wordz2u at gmail.com>
> Thanks, Peter and Tegan!
>
> OK, I can fix this by including fmt=#title in the pagelist command, but
> that is a workaround.
>
> I looked at my Site.PageListTemplates page, and I do not have a local
> PageListTemplate in my recipe wiki. I am not sure how to modify or fix the
> template anyways, and the PmWiki site advises against doing it anyways.
>
> So the question is, how do I form a template like that for my secondary
> wikis of my farm? I am perfectly fine with copying or linking to the
> SitePageListTemplates, but surely there have to be a name and a directory
> where such copy should reside, and I am not sure where it is.
>
> Any advice on that?
>
>
>
> On Mon, May 11, 2009 at 10:36 PM, Tegan Dowling <tmdowling at gmail.com>wrote:
>
>> On Mon, May 11, 2009 at 6:44 PM, Steven Benmosh <wordz2u at gmail.com>wrote:
>>
>>> I have a wikifarm, with the main site being
>>> http://www.words2u.net/pmwiki/?n=Home.HomePage and a secondary wiki of
>>> recipes at http://www.words2u.net/recipes/index.php?n=Main.HomePage.
>>>
>>> I have two configuration files, the main at /pmwiki/local/config.php and
>>> the other at /recipes/config.php, and both have in them
>>> $SpaceWikiWords = 1; Indeed the title of the page names in both wikis is
>>> spaced.
>>>
>>> However, I am finding that the behavior of pagelists is different. On
>>> http://www.words2u.net/pmwiki/?n=BusRoutes.HomePage the pagelist command
>>> is (:pagelist group=BusRoutes -Template list=normal count=7 order=-ctime:)
>>> and the links are spaced. In
>>> http://www.words2u.net/recipes/index.php?n=Recipes.Recipes, the pagelist
>>> command is (:pagelist group=Recipes list=normal -Template:) and the links
>>> are not with spaces.
>>
>>
>> Hi, Steven: I don't know why the default pagelist format would give you
>> spaced output in one place, and un-spaced in another, but as a work-around,
>> you could use the "fmt=" part of
>> http://www.pmwiki.org/wiki/PmWiki/PageLists to choose a format to
>> specify. There are a bunch of pre-defined formats for the pagelist output,
>> and if you don't find the one you want, you can create a Site.LocalTemplates
>> page on your site and create your own format there.
>>
>> Does that help?
>>
>>
>
>
> --
> Check out my web site - www.words2u.net
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
--
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090513/9913b1d8/attachment.html
More information about the pmwiki-users
mailing list