giterlizzi / dokuwiki-template-bootstrap3

Bootstrap-based template for DokuWiki
https://dokuwiki.org/template:bootstrap3
GNU General Public License v2.0
220 stars 77 forks source link

Hook templates can’t get original page name? #527

Open fts-tmassey opened 3 years ago

fts-tmassey commented 3 years ago

Hello!

I am trying to integrate the ODT export plugin into my wiki. To do this most conveniently, I tried adding the odt markup to my :pageheader page. Worked perfectly: had an ODT export icon right where I wanted it! Except...

When you use the icon, it exports the page header content — and only that content.

I opened an issue with the ODT extension developers, but after some research they couldn’t find a way to get the name of the page that was initially requested, and so they can’t fix it on their end. So I thought I’d ask: is there a way for code called from a hooked page to know the name of the page that it’s being included in?

Thank you very much for your extension! It makes managing the look and feel of my wiki as easy as managing the content! This will expand that ease of management even more. I really appreciate it.

ETA: Link to original report: https://github.com/lpaulsen93/dokuwiki-plugin-odt/issues/260