<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Ilia Ovechkin &lt;<a href="mailto:iovechkin@mica.edu">iovechkin@mica.edu</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">October 1, 2008 2:54:00 PM EDT</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>PHP inside .tmpl</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi&nbsp;<div><br></div><div>I have a fairly simple question (at least i hope)</div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 15px; line-height: 19px; "><p class="vspace" style="margin-bottom: 0px; margin-top: 1.33em; ">I would like to be able to include &lt;?php include "<a class="varlink" href="http://www.pmwiki.org/wiki/PmWiki/PathVariables#SkinDirUrl" style="text-decoration: none; "><code class="varlink" style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier, monospace; ">$SkinDirUrl</code></a>/randomimage.php"; ?> inside of the .tmpl file which references a php file inside the skin folder.</p><p class="vspace" style="margin-bottom: 0px; margin-top: 1.33em; ">Is there documentation for how this should be done?</p></span></div><div><br></div><div>The question was also posted at PITS:&nbsp;<a href="http://www.pmwiki.org/wiki/PITS/01050">http://www.pmwiki.org/wiki/PITS/01050</a></div><div><br></div><div>Thank you,</div><div>Ilia Ovechkin</div></div></blockquote></div><br></body></html>