-
Notifications
You must be signed in to change notification settings - Fork 18
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
export_code not working #25
Comments
This needs to be fixed in the include plugin, in fact this convinces me that I should finally implement dokufreaks/plugin-include#110. Thank you for noticing and reporting this problem, I hope I'll find time to fix this during the next weeks or at the hackfest. |
Actually this (probably) only works on the first page, as soon as you click on the pagination links it will break. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
{{blog>}}
on a page, the download links for<file>
blocks do not work.The problem seems to be that the download link is generated based on the blog main page instead of the specific page of the blog post. On the main blog page, the action
export_code
with parametercodeblock=1
fails because that code block is dynamically pulled in.My main page is
DOMAIN/start
and it includes:{{blog>}}
My blog post is located at
DOMAIN/blog/post
and it includes:The download URL that is being create on the blog post page is
DOMAIN/_export/code/blog/post?codeblock=1
, which works.But the download URL on the main blog page is
DOMAIN/_export/code/start?codeblock=1
which returns404 - Not found
.Is there any way to fix this in the plugin or in the dokuwiki code?
The text was updated successfully, but these errors were encountered: