Tuesday, February 17, 2009, 9:33:04 AM, Hans wrote:

> As a developer I prefer a dirty

>     echo "Unable to retrieve pagelist template $template";

Okay, here is a cleaner solution, which prints the error message
instead of the pagelist:

   if (!$ttext) $ttext = "(:template first:)%red%Error: Unable to retrieve 
pagelist template $template";



Hans


_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to