<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Oct 17, 2006, at 2:55 AM, Patrick R. Michaud wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>$FmtPV['$Year'] =<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>"PageTextVar('Data-'.PageVar(\$pn, '\$BaseName'), '$:Year')";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>$FmtPV['$Work'] =</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>"PageTextVar('Data-'.PageVar(\$pn, '\$BaseName'), '$:Work')";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>$FmtPV['$WAuthor'] =</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>"PageTextVar('Data-'.PageVar(\$pn, '\$BaseName'), '$:WAuthor')";</FONT></P> </BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This didn't work....</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I tried it out by putting </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>{$Year}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>{$WAuthor}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>{$Work}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>in the body of a Simile page, and nothing is coming back from it. I don't see why the code isn't creating output though. Am I calling the page variables correctly?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Once I do have it working, I guess I could make "stripped" (or "safe") pagevar versions and eliminate that custom markup I have for creating Category markup? These might actually work equally well for sorting and grouping...something like:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>$FmtPV['$sYear'] = "preg_replace('/[^A-Za-z0-9 -]/', '', PageTextVar('Data-'.PageVar(\$pn, '\$BaseName'), '$:Year'))";</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>$FmtPV['$sWork'] = "preg_replace('/[^A-Za-z0-9 -]/', '', PageTextVar('Data-'.PageVar(\$pn, '\$BaseName'), '$:Work'))";</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>$FmtPV['$sWAuthor'] = "preg_replace('/[^A-Za-z0-9 -]/', '', PageTextVar('Data-'.PageVar(\$pn, '\$BaseName'), '$:WAuthor'))";</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have </DIV><DIV> Markup('{$var}', '>$[phrase]',</DIV><DIV> '/\\{(\\*|!?[-:\\w.\\/\\x80-\\xff]*)(\\$:?\\w+)\\}/e',</DIV><DIV> "htmlspecialchars(PageVar(\$pagename, '$2', '$1'), ENT_NOQUOTES)");</DIV><DIV>in my config.php -- I tried commenting it out and my {$:Vars} broke, but I thought that they were built in at this point...I don't mind leaving it in, I'm just trying to figure out what has been obsoleted since I started this wiki a couple months ago.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Crisses</DIV></BODY></HTML>