[pmwiki-users] pagelist format and $LinkPageCreateFmt

Hans design at softflow.co.uk
Mon Feb 20 12:11:14 CST 2006


An entry in a pagelist format template like

   (:if !exists BlogComments.{=$Name}:)
   [[BlogComments.{=$Name}#commentbox| Add Comment]]
   (:if:)

will result in a link html like

  <a class='createlinktext' href='\$PageUrl?action=edit' title='Create page'>\$LinkText</a>";
  <a class='createlink' href='\$PageUrl?action=edit'>?</a>

determined by $LinkPageCreateFmt.

If a page does not exist any parameters after the pagename in the link
markup (be it "#anchor" or "?action=..." parameters) are ignored and
the value for $LinkPageCreateFmt used instead.

Can this behaviour be changed so parameters will appear even though
the link goes to a non-existant page?

As a workaround I can redefine $LinkPageCreateFmt for certain pages to
get the desired result, but this seems to be an ugly method.

-- 
Best regards,
 Hans                          





More information about the pmwiki-users mailing list