[pmwiki-users] Generating a contents box on a page?

Donald Z. Osborn dzosborn at gmail.com
Mon Feb 5 10:46:38 CST 2007


Hans, Thanks for this and the ref to the WikiStylesPlus page.

Is there any script that generates a table of contents outline (from the !,
!!, !!! headers) to go in such a box? E.g.

>>rframe<<
Table of contents
[script goes here]
>><<

Don

On 2/5/07, Hans <design5 at softflow.co.uk> wrote:
>
> Monday, February 5, 2007, 2:02:04 PM, Donald wrote:
>
> > Is it possible to generate a "Contents" box on PmWiki pages similar to
> that
> > on MediaWiki (as seen on Wikipedia).
>
> pmwiki has a built-in 'frame' style, which generates a box:
> >>frame<<
> box contents
> >><<
>
> to float this right:
> >>rframe<<
> contents
> >><<
>
> you can change the styling by redefining it, or create your own box
> style. 'frame' is defined in scripts/wikistyles.php.
> All styles are defined with SDV, meaning you can define your own
> version in config.php, which will be loaded instead of the pmwiki
> default.
>
>
> Hans
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070205/d8cc7979/attachment.html 


More information about the pmwiki-users mailing list