[pmwiki-users] Space in pagelist

Steven Benmosh wordz2u at gmail.com
Tue May 12 11:28:28 CDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090512/47d5458a/attachment-0001.html 


More information about the pmwiki-users mailing list