[pmwiki-users] Anchors inside pagelist templates

The Editor editor at fast.st
Wed Mar 28 09:19:22 CDT 2007


On 3/28/07, Benoit Dutilleul <benoit.dutilleul at googlemail.com> wrote:
> I need to define anchors in templates for a forum I'm developing with
> pmwiki/ZAP. These anchors would position a specific message in a thread
> page.
>
> The anchor name is the timestamp corresponding to the message date stored as
> a ZAP variable {=$:MessageDate}. I'm using the following synthax :
> [[#{=$:MessageDate}]]. I've also tried [[(#{=$:MessageDate})]]. This does
> not work : the template generates a normal link. Indeed, the html
> corresponding source for an example message is :
> <a href='#1175087439'></a>
>
> Any idea of how I could do this?
>
> Benoit



I seem to remember having the same problem with anchors that consisted
only of numbers.  Try changing it to [[#A{=$:MessageDate}]] or
something...

Cheers,
Dan



More information about the pmwiki-users mailing list