[dokuwiki] small patch for hierarchical "you are here"
- From: "Nate Kohl" <nate@xxxxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 10 Sep 2008 11:13:16 -0500
Hi,
I wanted to use a custom URL for the base page in the hierarchical
"you are here" breadcrumb trail, so I hacked in a 3-line change that
seems to do the job. It works by checking if conf['custom_base_url']
is defined -- if so, it uses that instead of the regular link.
For example, if the hierarchical breadcrumb trail looks like this:
start >> foo >> bar
...then this will allow you to change the URL that "start" points to.
FYI, I wanted this behavior because the "main" page of my wiki needs
to be an external file. I don't know if this is the best way to get
this behavior, but I thought it couldn't hurt to provide a patch.
nate-
Other related posts:
- » [dokuwiki] small patch for hierarchical "you are here"