On Thu, Mar 22, 2007 at 02:22:58PM +0100, [EMAIL PROTECTED] wrote:
> *But how would you input the initial page creation date right into the  
> template page???

Make a {$PageCreationDate} page variable.

(see http://www.pmwiki.org/wiki/PmWiki/PageVariables, down the bottom)

$FmtPV['$PageCreationDate'] = 'strftime("%Y-%m-%d", $page["ctime"])';

Then you could put in the template

Date: {$PageCreationDate}

and it would use the page creation date when the page is displayed
(since the page creation date is saved in the page's metadata when the
page is created)

IMHO this is much better than a ROS pattern.

> *How would you include a page abstract paragraph right in the template?

How can you have a page abstract paragraph when you don't know what the
page is about until after it's created?  Are they expecting PmWiki to
have telepathic abilities?  Or do they mean something else by "page
abstract paragraph"?

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen  <http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |   -> Earth -> Sol -> Milky Way Galaxy -> Universe

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to