[pmwiki-users] Custom views and pagelists not promptly updated
Peter Bowers
pbowers at pobox.com
Sat May 2 05:59:47 CDT 2009
On Sat, May 2, 2009 at 11:13 AM, Olaf Marzocchi
<550242083288-0001 at t-online.de> wrote:
...
> Now I have a different view per language and I use the following at the
> head of the articles:
>
> (:title {$:title{$View}} :)
> (:description {$:description{$View}} :)
> (:keyword {$:keyword{$View}} :)
>
...
> The pages are rendered correctly, also the title in the header is
> correct.
> I have only one problem: pagelists seem to use always the same version
> of the meta-fields (of the description in my case): if I save an article
> while in italian view, I will get the italian description, also when I
> load the pagelist while being in the english view.
> I thought it should have been different...
>
> How can I solve this problem? at the time being I found, as only way, to
> use in the pagelist template the variables specific to the different
> languages, for example:
>
> [[#titlesummaryIT]]
> [[{=$FullName} | {=$titleit}]]
> -> {=$descriptionit} ({=$LastModified})
>
> [[#titlesummaryITend]]
Try this:
[[#titlesummary]]
[[{=$FullName} | {=$title{$View}}]]
-> {=$description{$View}} ({=$LastModified})
[[#titlesummaryend]]
I don't use this view recipe so I can't be sure, but I think that will
solve your problem.
-Peter
More information about the pmwiki-users
mailing list