<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 14, 2010, at 3:23 PM, Daniel wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>If there is something like {$Date} in PMwiki, that would create a link<br>that changes every day!<br>Would that work?<br></div></blockquote></div><br><div>Yes, it should work fine. You will need to put something like this into your config.php to get the variable (see <a href="http://www.pmwiki.org/wiki/Cookbook/MoreCustomPageVariables">http://www.pmwiki.org/wiki/Cookbook/MoreCustomPageVariables</a>):</div><div><br></div><div>$FmtPV['$Today'] = 'date("Y-m-d")'; // 2006-03-29</div><div><br></div><div>Then the following should redirect the user if the link doesn't contain "?approved=" followed by today's date.</div><div><br></div><div>--------code-----------<br>*Page A:*<br>Instructions<br><br>[[B?approved={$Today} | Continue…]]<br><br>*Page B:*<br>(:if !request approved {$Today}:) (:redirect A quiet=1:) (:ifend:)<br>Links...<br>---------/code-------------</div><div><br></div></body></html>