[pmwiki-devel] breakpage markup

Hans design5 at softflow.co.uk
Thu Apr 12 08:19:11 CDT 2007


I am failing to get the following breakpage markup to run the
function. Can someone tell me what I am missing?

if ($action=='browse')
   Markup('breakpage3','>include','/^#foxbegin.*$/se',
      "FoxForumPageBreak(\$pagename,PSS('$0'))");

function FoxForumPageBreak($pagename,$text) {
  echo "BREAKPAGE>";
  $p = explode('#foxbegin',$text);
  $n = @$_REQUEST['p'];
  ......
}

The echo is my debug tool. I never get it.

The page has several #foxbegin lines in it, all at a line start.


 Hans




More information about the pmwiki-devel mailing list