[pmwiki-users] Custom views and pagelists not promptly updated

Olaf Marzocchi 550242083288-0001 at t-online.de
Sat May 2 05:14:27 CDT 2009


In article <550242083288-0001-118A8E.11130902052009 at news.gmane.org>,
 Olaf Marzocchi <550242083288-0001 at t-online.de> wrote:

> 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]]
> 
> [[#titlesummaryEN]]
> [[{=$FullName} | {=$titleen}]]
> -> {=$descriptionen} ({=$LastModified})
> 
> [[#titlesummaryENend]]
> 
> So, one specific format per language.

Well, the complete format I use is:

---
(:if false:)
[[#titlesummaryit]]
[[{=$FullName} | {=$:titleit}]]
-> {=$:descriptionit} ({=$LastModified})

[[#titlesummaryitend]]


[[#titlesummaryen]]
[[{=$FullName} | {=$:titleen}]]
-> {=$:descriptionen} ({=$LastModified})

[[#titlesummaryenend]]


[[#titlesummaryde]]
[[{=$FullName} | {=$:titlede}]]
-> {=$:descriptionde} ({=$LastModified})

[[#titlesummarydeend]]
(:ifend:)
---

I previously forgot to add the ":" to the custom variables.

I forgot also to mention that I select the correct template 
automatically, depending on the current view/language.

The only issue left is the multiple "last modified" entries I always 
get, here an example (you find it at 
http://www.marzocchi.net/Olafsen/Main/WikiSandbox?setview=de )

---
Fussballspiel Karlsruhe - Frankfurt, 21 Februar 2009
Bilder vom Spiel (01/05/2009 ore 13:44 CEST)

(11/01/2009 ore 01:49 CET)

(04/12/2008 ore 22:13 CET)

(28/06/2008 ore 21:40 CEST)
---

How could it happen? a "last modified" is *last* entry, so only one.

Thanks in advance,
Olaf Marzocchi




More information about the pmwiki-users mailing list