[pmwiki-users] Redirect() & $MessagesFmt

adam overton a at plus1plus1plus.org
Thu Jul 3 01:28:25 CDT 2008

i'm currently trying to outfit my copy of NewPageBoxPlus with an  
error message when someone tries to create a page that already  
exists. i have a (:messages:) on the page, and thought something like  
this might work:

			if(PageExists($newpage)) {
				$MessagesFmt = "blahhhh"; // ERROR MSG //
				Redirect($pagename);  // REDIRECT with ERROR MSG //

... but it doesn't - the $MessageFmt doesn't carry over to the new  
what am i doing wrong?


More information about the pmwiki-users mailing list