On Sun, Jan 28, 2007 at 04:17:55PM -0500, The Editor wrote:
> On 1/28/07, Tegan Dowling <[EMAIL PROTECTED]> wrote:
> > 2) Any way to put some wikicode in there so that the year is always correct?
> >
>
> You might try something like the following... (I couldn't quite get
> it to work, but maybe someone will help spot the problem).
>
> Markup('year', '<inline', '/\(\:year\:\)/', "strftime(time(), %Y)");
Wouldn't it make more sense to make a custom page variable instead?
$FmtPV['$CurrentYear'] = 'strftime("%Y")';
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