<br><br><div class="gmail_quote">On Feb 1, 2008 4:43 AM, Hans <<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Friday, February 1, 2008, 2:26:29 AM, Steven Benmosh wrote:<br><br>> 1. Is there a way to embed php in a wiki page, just like html tags? My goal<br>> is to provide some dynamic content on the web page, such as current time and<br>
> date, using php functions.<br><br></div>Wiki pages are dynamic php generated pages. To include time and dates<br>use Markup Expression {(ftime..)} (PmWiki 2.2.beta) See<br><a href="http://www.pmwiki.org/wiki/Cookbook/MarkupExpressions" target="_blank">http://www.pmwiki.org/wiki/Cookbook/MarkupExpressions</a><br>
<br>For security reasons you don't want a custom markup allowing insertion<br>of arbitrary php code in the page content.<br><div class="Ih2E3d"><br>> 2. If yes, could it interact with pmwiki directives (for example, I can do<br>
> (:pagelist:), capture the output and convert it to a normal wikitag (i.e.<br>ThisIsMyPageName -->>[[ThisIsMyPageName|| This is My Page Name]]<br><br></div>You can use MarkupExpressios inside the (:pagelist ... :) directive.<br>
But I am not sure what you try to achieve regards the links.<br>Please read up about various link markup formats.<br><a href="http://www.pmwiki.org/wiki/PmWiki/Links" target="_blank">http://www.pmwiki.org/wiki/PmWiki/Links</a><br>
<br>you can just use [[This is My Page Name]] and it will appear as you<br>written and point to page 'ThisIsMyPageName' in the current group.<br><font color="#888888"><br><br> ~Hans<br><br></font></blockquote></div>
<br>1. Thanks, I guess I have to learn how to use markups to fully use the capabilities of pmwiki.<br><br>2. Would the last suggestion work with the output of (:pagelist group=... :)? This is where I am encountering the issue - I want to show the pages in a group automatically, so when users create pages they will be listed, but I want the output to look like: Manchester United, and not ManchesterUnited. When I create the link manually this can be overcome easily, but I am not sure how to do it with pagelist.<br>
<br>-- <br>Check out my web site - <a href="http://www.words2u.net">www.words2u.net</a>