Skip to content

Conversation

splitbrain
Copy link
Owner

This adds a second button to the menu to export the current namespace. I'm not sure how useful this is for the general public. A customer wanted it.

@lejmr
Copy link

lejmr commented Sep 20, 2020

I find it very useful!

@@ -967,6 +971,28 @@ public function addbutton(Doku_Event $event) {
) +
array_slice($event->data['items'], -1, 1, true);
}

if($this->getConf('showexportnsbutton') && getNS($ID)) {
$params = array('do' => 'export_pdf');
Copy link
Collaborator

@Klap-in Klap-in Oct 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this tested? I guess this should be export_pdfns instead of export_pdf?

@macin
Copy link

macin commented Mar 13, 2024

I'd love to have it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants