[Pmwiki-users] Re: Part II: Notes while setting up the beta site

Patrick R. Michaud pmichaud
Mon Feb 16 11:05:21 CST 2004


On Mon, Feb 16, 2004 at 06:47:55PM +0100, Christian Ridderstr?m wrote:
> 
> * (Temporarily) modify the code to produce simpler output, e.g. this code:
> 	$PageLayoutFmt['wikihead']='search form';
> 	$PageLayoutFmt['wikicmds']='wikicmds<br>...<br>wikicmds';
> 	$PageLayoutFmt['wikititle']="    <div class='pagegroup'>group</div>
> 		<div class='pagetitle'>pagetitle</div>";
>   will produce less HTML-code. (It would be nice to have a special "debug"
>   or "layout" mode in pmwiki for this).

Great idea.  How about a "debug-layout.php" script to make these settings?  
Could go in the cookbook.  :-)

One could also do it as a page customization, i.e., create
local/Main.DebugLayout.php that makes these settings.  This would
make it easy to switch between debug mode and actual text--simply
go to the DebugLayout page for the debg mode.  I'm about to do this 
at http://www.pmichaud.com/wiki/Main/DebugLayout.

Pm



More information about the pmwiki-users mailing list