[pmwiki-users] variable from a distant page

Tom Lederer celok at gmx.net
Sat Sep 9 21:25:23 CDT 2006


Eventually i found somewhere to peek :)

     $page = ReadPage($pagename, READPAGE_CURRENT);
     $search_markup  = preg_match('/\\(:markup\\s(.*?):\\)/ei', $page 
['text'], $found_markup); {

Does what i wanted. Just for the records.

Best Regards,
Tom
-- 

Tom
http://www.celok.de
http://www.frappr.com/celok


Am 09.09.2006 um 15:26 schrieb Tom Lederer:

> Hi,
>
> i try to display the content of a tag in another page. Much like  
> the description tag.
>
> Actually i try to display it in the groupheader.
>
> So in the actual page it is
> (:foo bar1 bar2 bar3:)
>
> Then in GroupHeader it would always show the content of $pagename 
> $foo of the current page.
>
> I tried many approaches now, but didn't get it to work.
>
> Can anyone help?
>
> Best Regards,
> Tom
> -- 
>
> Tom
> http://www.celok.de
> http://www.frappr.com/celok
>
>





More information about the pmwiki-users mailing list