[Pmwiki-users] Re: Comments in new tmpl files
John Feezell
JohnFeezell
Sun Feb 22 13:17:38 CST 2004
On Sun, 22 Feb 2004 08:06:56 -0700, Patrick R. Michaud
<pmichaud at pobox.com> wrote:
> On Sun, Feb 22, 2004 at 09:08:24AM -0600, John Feezell wrote:
>>
>> Will it be possible to use "comment" instructions to temporarily
>> suspend a
>> particular portion of the template?
>
> Umm, I don't quite understand what you mean here...can you give an
> example?
>
> Pm
My thinking is along the following lines:
Take the Classic tmpl file. In it are the following lines:
<!--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> -
<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>
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>
Hope this helps explain what I'm thinking about.
/JF
More information about the pmwiki-users
mailing list