[pmwiki-users] Anchors inside pagelist templates
Patrick R. Michaud
pmichaud at pobox.com
Wed Mar 28 16:28:17 CDT 2007
On Wed, Mar 28, 2007 at 10:19:22AM -0400, The Editor wrote:
> 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 seem to remember having the same problem with anchors that consisted
> only of numbers. Try changing it to [[#A{=$:MessageDate}]] or
> something...
That's correct -- the HTML specification says that anchor names
must begin with A-Z, followed by any number of letters, digits, hyphens,
underscores, colons, and periods.
http://www.w3.org/TR/html4/types.html#type-id
Pm
More information about the pmwiki-users
mailing list