[pmwiki-users] LocalTemplates title weirdness
Maria McKinley
mariak at mariakathryn.net
Sat Mar 2 11:13:57 CST 2013
None of this helps, weirdly and unfortunately. It has something to do with
Hans' markup for foxblog. If I use fmt=#blogtitles, it shows the correct
title. It seems to be this bit of code, sort of:
(:if equal {>$Group}:)
(:title {$Title}:)(:if:)
If I get rid of it, then the last blog post title becomes the title (even
with the EnablePageTitlePriority now set), which is not what I want either,
but may give someone a hint as to what is going on.
thanks,
Maria
On Sat, Mar 2, 2013 at 6:30 AM, Petko Yotov <5ko at 5ko.fr> wrote:
> It looks like your PageList also includes the page LocalTemplates which
> has a link to the category. In LocalTemplates you have a (:title ...:)
> directive which is probably the last included page, and as by default the
> last title wins, the index page gets its title.
>
> I suggest to exclude the group Site from your pagelist, something like
> this:
>
> (:pagelist link=Category.Blog group=-Site*,-Category [other parameters] :)
>
> See also
>
> http://www.pmwiki.org/wiki/**PmWiki/LayoutVariables#**
> EnablePageTitlePriority<http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#EnablePageTitlePriority>
>
> Petko
>
>
>
> Maria McKinley writes:
>
>> One of my pages that contains a pagelist is showing 'LocalTemplates' as
>> the title, even though that is clearly not the title, and even if I use the
>> title directive to try to override it.
>>
>
>
> ______________________________**_________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/**mailman/listinfo/pmwiki-users<http://www.pmichaud.com/mailman/listinfo/pmwiki-users>
>
--
Maria Mckinley
Programmer and System Administrator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20130302/52191cc1/attachment.html>
More information about the pmwiki-users
mailing list