Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
nsexport Plugin -> template hook doesn't append "&do=nsexport"
PeterSiegel #1
Member since Mar 2019 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: nsexport Plugin -> template hook doesn't append "&do=nsexport"
The nsexport Plugin works well on Raspbian and PHP 7.0.30.

The plugin documentation page at ends with a usage recommendation: A dokuwiki template extension creates a link for starting the installed nsexport plugin.

The template extension is described by following line:
<a href="<?php global $ID; wl($ID, array('do' => 'nsexport')) ?>">Export</a>

Normally, clicking the "Export" link should refer to an URL that is the actual page URL extended by '&do=nsexport'. The  '&do=nsexport' extension causes a plugin call to start an export of the chosen namespace's content.

Unfortunately, the "Export" link refers to an URL that is NOT extended by '&do=nsexport'. The  '&do=nsexport' extension has to be added manually into the browser's address line.

What is wrong with this PHP script embedded in the href attribute?

I created a 'pageheader.html' file with this HTML anchor link described above. The pageheader file is saved in the template directory. The script only creates the actual URL without appendix  '&do=nsexport'.

How can I fix this?

Best greetings & thanks for advice
This post was edited on 2019-03-10, 21:26 by PeterSiegel.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-08, 04:27:42 (UTC +01:00)