[Pmwiki-users] Re: Comments in new tmpl files

Steven Leite steven_leite
Sun Feb 22 19:51:33 CST 2004


> I think that during development, maintenance, or documentation on a
> template, it might be helpful to be able to do the following:

> <!--PageFooterFmt-->
>    <div id='wikifoot'>
>      <hr />
>      <div class='footnav'>
>        <a href='$PageUrl?action=edit'>$[Edit Page]</a> -
>        <a href='$PageUrl?action=diff'>$[Page History]</a> -
>        <a href='$PageUrl?action=print' target='_blank'>$[Printable
> View]</a> -
> <!-- This section needs to be refined and extended. -JF 2/22/04
>        <a href='$ScriptUrl/$[$Group/RecentChanges]'>$[Recent
Changes]</a> -
>        <a href='$ScriptUrl/$[PmWiki/WikiHelp]'>$[WikiHelp]</a> -
>        <a href='$ScriptUrl/$[Main/SearchWiki]'>$[SearchWiki]</a>
> -->
>      </div>
>      <div class='lastmod'>$[Page last modified on
$LastModified]</div></div>

No need to worry, that's a simple comment.  PmWiki will still perform the
$Variable replacements, but since they fall in a comment block, your browser
won't display them.  If you view source, you will see the comment, along
with the replacements that PmWiki made.

-- S





More information about the pmwiki-users mailing list