[pmwiki-users] LocalTemplates title weirdness
Maria McKinley
mariak at mariakathryn.net
Sat Mar 2 15:41:44 CST 2013
On Sat, Mar 2, 2013 at 10:25 AM, Hans Bracker <design at softflow.co.uk> wrote:
>
> > 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.
>
> remove
> (:if equal {>$Group}:)
> (:title {$Title}:)(:if:)
> from the pagelist template.
> It was only added to provide a way that the included titles would not
> override the Blog index page title.
>
> Add in config
> $EnablePageTitlePriority = 1;
>
> Change you title markup on the Blog index page to something like
> (:title Blog:)
> not (:Title Blog:)
> i.e. avoid the capital T, as the title markup will not work
> otherwise (I guess).
>
> Check that the Blog title displays by disabling the blog pagelist
> temporarily.
>
> Check that $EnablePageTitlePriority = 1; works by adding a
> (:title Test Title.... :) markup further down the Blog index page.
> This should not display.
>
> If $EnablePageTitlePriority = 1; does not work by displaying the first
> (:title ..:) markup on the page, move the (:title Blog:) markup to
> the bottom of the page, below the blog pagelist.
>
>
>
> Best regards,
> Hans
> mailto:design at softflow.co.uk
> www.softflow.co.uk
>
Thanks Hans. The last idea worked. No idea why $EnablePageTitlePriority
isn't working here, but so this is okay as a workaround.
cheers,
Maria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20130302/814b5e47/attachment.html>
More information about the pmwiki-users
mailing list