I have set up some page variables<div><div>  $FmtPV[&#39;$ChordProVersion&#39;] = $RecipeInfo[&#39;ChordPro&#39;][&#39;Version&#39;];</div><div>  $FmtPV[&#39;$SongTitle&#39;] = $title;</div><div>I did this in the function (Chord_Parse) that is called by the Markup function.</div>
<div>The variables don&#39;t show up on the page, do I need to make something global?</div><div>Or perhaps I need to do something else in addition (eg edit page?)</div><div><br></div><div>thanks</div><div><br></div><div>Simon</div>
<br><div class="gmail_quote">2009/9/24 Petko Yotov <span dir="ltr">&lt;<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wednesday 23 September 2009 12:32:25 Simon wrote:<br>
&gt; I have a recipe (ChordPro) from which I wish to create and return a page<br>
&gt; text variable (eg $:SongTitle}(ie that page would have the PTV usable from<br>
&gt; conditional markup, pagelists etc)<br>
<br>
</div>You can create a &quot;page variable&quot; {$SongTitle} (not page &quot;text&quot; variable), and<br>
also use it in conditionals and in pagelists.<br>
<div class="im"><br>
&gt; Can anyone point me at an exemplar of how this is done.<br>
<br>
</div>There are a couple of examples here :<br>
  <a href="http://www.pmwiki.org/wiki/Cookbook/MoreCustomPageVariables" target="_blank">http://www.pmwiki.org/wiki/Cookbook/MoreCustomPageVariables</a><br>
<font color="#888888"><br>
Petko<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>