<font size="2"><font face="courier new,monospace">I was surprised this disn't work. Does anyone know why this doesn't work as it is the only way I can see of getting a pagetext variable back into the template.<br><br>
Rgds<br>Brian<br><br><br><br clear="all"></font></font><div>I found something the like also here<br>
<a href="http://www.pmwiki.org/wiki/PmWiki/PageTextVariables#withincode" target="_blank">http://www.pmwiki.org/wiki/PmWiki/PageTextVariables#withincode</a><br>
but I'm failing to get it working.<br>
Adding this<br>
    $Image=PageVar($pagename,'$:<blockquote class="gmail_quote">Image');<br>
to config.php and then placing (as an example)<br>
    <meta itemprop="image" content="{$Image}" /><br>
and defining the variable into the wiki page this way<br>
    (:Image:<a href="http://www.example.com/picture.jpg" target="_blank">http://www.example.com/picture.jpg</a>:)<br>
into the skin template does not seem to make the trick.<br>
<br>
</blockquote><div><font face="'courier new', monospace"><br></font></div></div><br>
<br><br><div class="gmail_quote">On 5 October 2011 06:53, <a href="mailto:kirpi@kirpi.it">kirpi@kirpi.it</a> <span dir="ltr"><<a href="mailto:kirpi@kirpi.it">kirpi@kirpi.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
> Brian:<br>
<div class="im">> Put this in the config.php<br>
> $Image=PageVar($pagename,'$:Image');<br>
> then use the var as normal in the template {$Image}<br>
<br>
</div>Thank you, Brian!<br>
I found something the like also here<br>
<a href="http://www.pmwiki.org/wiki/PmWiki/PageTextVariables#withincode" target="_blank">http://www.pmwiki.org/wiki/PmWiki/PageTextVariables#withincode</a><br>
but I'm failing to get it working.<br>
Adding this<br>
    $Image=PageVar($pagename,'$:Image');<br>
to config.php and then placing (as an example)<br>
    <meta itemprop="image" content="{$Image}" /><br>
and defining the variable into the wiki page this way<br>
    (:Image:<a href="http://www.example.com/picture.jpg" target="_blank">http://www.example.com/picture.jpg</a>:)<br>
into the skin template does not seem to make the trick.<br>
<br>
<br>
> Carlos:<br>
<div class="im">> Oh, It makes me sad that you gave up<br>
> on trying to give a programatic<br>
> answer to your own needs.<br>
</div>> ...<br>
<div class="im">> But not all is lost, I've made the recipe.<br>
<br>
</div>Really thank you Carlos, as well as V.Krishn and Petko for your contributions.<br>
The recipe Carlos made produces an interesting result.<br>
Really!<br>
<br>
I will now try to extend it and post it back here as well as set up a<br>
recipe page for this.<br>
<br>
Thank you again Carlos!<br>
<br>
Luigi<br>
</blockquote></div><br>