[pmwiki-users] (:include Main.SomePage#FromHere#ToHere:) in PHP ?

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 13 15:36:10 CDT 2007


On Thu, Sep 13, 2007 at 10:06:05PM +0200, Christophe David wrote:
> >> Could someone please post the PHP code equivalent to
> >> (:include Main.SomePage#FromHere#ToHere:)
> > $text = RetrieveAuthSection($pagename, 'Main.SomePage#FromHere#ToHere');
> > Pm
> 
> I have a pagelist format that includes a section of the listed pages,
> as shown below.  This works exactly as expected, except that when
> there are many pages, it only includes the n first ones.  Some kind of
> limit seems to be reached, and I did not manage yet to find out which.

See the $MaxIncludes variable, described in

    http://www.pmwiki.org/wiki/PmWiki/FAQ
    http://www.pmwiki.org/wiki/PmWiki/IncludeOtherPages

Pm



More information about the pmwiki-users mailing list