dokuwiki-template-bootstrap3 icon indicating copy to clipboard operation
dokuwiki-template-bootstrap3 copied to clipboard

Hook templates can’t get original page name?

Open fts-tmassey opened this issue 4 years ago • 0 comments

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

fts-tmassey avatar Dec 29 '20 16:12 fts-tmassey