Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exporting full namespace as menu button #364

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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