[pmwiki-users] new page created with Lambda name using newgroupbox

Simon nzskiwi at gmail.com
Sun May 10 15:46:36 CDT 2015


I've got an interesting problem where, when I create a new page, say with
the intended name of "NewTest" the name comes out as
"Lambda2341ewLambda2341est/HomePage"

The code I am using is

(:newgroupbox value='new workspace (typically your name)' base=HomePage
button=right size=32 focus=true \
  template='Workspace.Template' save=true label='New workspace':)

 (:toggle init=hide div='newWorkspace' lhide='hide add workspace box'
lshow='add new workspace':)

Has anyone else had this problem?

Could it be because of the "/e" in the following


# add markup (:newgroupbox:)
Markup('newgroupbox', 'directives',
  '/\\(:newgroupbox\\s*(.*?):\\)/ei',
  "NewGroupBox(\$pagename, PSS('$1'))");

thanks

Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150511/a29bf35d/attachment.html>


More information about the pmwiki-users mailing list