You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 parameter codeblock=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:
<file php test.php>
some php code
</file>
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 returns 404 - 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:
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.
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: