[dokuwiki] Re: Current page id in sidebar

  • From: Michael Hamann <michael@xxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 29 Jan 2012 22:27:49 +0100

Hi,

On Sun, Jan 29, 2012 at 10:24 PM, Dennis Plöger <develop@xxxxxxxxxxxxxx> wrote:
> Is it possible to have the current "viewed" page available in a sidebar? I'd 
> like to assign a special style to the current page in a sidebar used as a 
> navigation menu, but "ID" is set to the name of the sidebar, not the 
> currently displayed page...

Yes, according to [1] $INFO['id'] should always be the "main" page.

Michael

[1] http://www.dokuwiki.org/devel:environment#info
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: