<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Oh yeah<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Sidenote, just in case, my pagenames (for Simile pages) have : in them.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV> <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">Crisses</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">---</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">I grew out of guys that age when I grew out of watching Dawson's Creek....but then again, Pacey is more my type....um, oh.</FONT></P> </DIV><BR><DIV><DIV>On Oct 17, 2006, at 4:30 AM, Crisses wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV><DIV>On Oct 17, 2006, at 2:55 AM, Patrick R. Michaud wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 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></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 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></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Comic Sans MS; min-height: 16px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>$FmtPV['$Work'] =</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 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></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Comic Sans MS; min-height: 16px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS"><SPAN class="Apple-converted-space"> </SPAN>$FmtPV['$WAuthor'] =</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 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></DIV> </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></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>