[pmwiki-users] div 4 groupheader / footer

H. Fox haganfox at users.sourceforge.net
Thu Feb 9 04:46:25 CST 2006


On 2/9/06, noskule <noskule at gmx.net> wrote:
>  hi list
>  I would like to embed the content of groupheader /footer into divs. So I
> can style them sepeartly from the wikitext.
>
>  <div id="header"> . . . .</div>

    >>id=header<<
    groupheader content
    >>id=pagecontent<<

>  <div id="wikitext"> . . . .</div>

That unique identifier already exists in the default template

   http://www.pmwiki.org/wiki/PmWiki/LayoutBasics#modifyskin

>  <div id="footer"> . . . .</div>

    >>id=footer<<
    groupfooter content

With the default skin and the pageheader and pagefooter provided above,  you get

    <!--PageText-->
    <div id='wikitext'>
    <div  id='header' >
    <p>groupheader content
    </p></div><div  id='pagecontent' >
    <p>body text
    </p></div><div  id='footer' >
    <p>footer content
    </p></div>
    </div>

Hagan




More information about the pmwiki-users mailing list