[dokuwiki] Re: Error on TOC with latest version
- From: "Mark McCoy" <realmcking@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 23 Mar 2006 11:25:23 -0600
On 3/23/06, Childs, Jeffrey <Jeffrey.Childs@xxxxxxxxxxxx> wrote:
>
>
> Everyone,
>
> Sorry about all of the confusion. The original problem quoted below in
> parserutils.php is no longer occurring (don't ask me why, I have not changed
> anything). However, no matter what template I use, I am getting the Table of
> Contents problem, where the TOC is appearing to the left of the 'Table of
> Contents' header. The only exception to this is using the default DokuWiki
> template. Otherwise, with all of the templates I have tried, the TOC is
> appearing incorrectly. Can anyone offer a reason for this? Andi, any
> thoughts? I am going to try to look at PHP code, but my PHP is still at an
> elementary level, so I'm not expecting much success.
>
This sounds more like a CSS issue, since the php code simply builds
the TOC and sets the id for the div containing the TOC. The browser
uses the CSS stylesheets to figure out where to place that div when
displaying the page.
Do the templates you are testing use the new css.php functionality to
wrap up all of the CSS files into one dynamically generated CSS
stylesheet?
Look into the lib/tpl/default/main.php and the same main.php file in
another template to see if they have the same CSS info in the header.
If you see the file loading up something like
$DOKU_BASE/lib/tpl/<templatename>/styles.css instead of
$DOKU_BASE/lib/css.php then it isn't using the new css handler. (I'm
at work right now, so I can't check to see if that's the correct path
for the css.php, but you get the idea...)
--
Mark McCoy -- Professional Unix geek
"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put
into the machine wrong figures, will the right answers come out?' I am
not able rightly to apprehend the kind of confusion of ideas that
could provoke such a question. " -- Charles Babbage
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Error on TOC with latest version
- From: Chris Smith
- References:
- [dokuwiki] Error on TOC with latest version
- From: Childs, Jeffrey
Other related posts:
- » [dokuwiki] Error on TOC with latest version
- » [dokuwiki] Error on TOC with latest version
- » [dokuwiki] Error on TOC with latest version
- » [dokuwiki] Re: Error on TOC with latest version
- » [dokuwiki] Re: Error on TOC with latest version
- » [dokuwiki] Re: Error on TOC with latest version
- [dokuwiki] Re: Error on TOC with latest version
- From: Chris Smith
- [dokuwiki] Error on TOC with latest version
- From: Childs, Jeffrey