-
Notifications
You must be signed in to change notification settings - Fork 50
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
Internal link issue with custom savedir #107
Comments
I'm afraid some changes I made had unintended side effects and the path to the aternate savedir became corrupted. I'm afraid this is not a quick fix. In the meantime if you want to use ckgedit you will have to use the default savedir. |
Using default savedir is unfortunately not an option atm for me. But I'll wait for the fix. Tried to understand myself where it has gone broken but couldnt find the correct place. |
As it turns out, the alternate savedir seems to be working. The following page was created after I moved the data directory to an alternate location: If you have made any changes to the code, reinstall the plugin. Delete the entire contents of the cache directory (data/cache). Make sure that the links in Refresh you browser cache and delete any cookies relating to ckgedit and dokuwiki. Then restart your browser. |
I've been playing with this and there does seem to be a problem. It seems to be browser-dependent, at least to some extent. Which means it 's probably in the Javascript. I'll continue to look. |
I've made some fixes. See the savedir branch of cgkedit: |
Yes! What I did: |
But you need the symbolic links to your data/media in userfiles for access to your media files |
I use shared hosting, so it's quite complicated to create symlink:/ |
I just checked my code -- it's been a while since I looked at it -- and I see that symlinks should be created for you if you install an updated version. |
You can force symlink creation by removing the file data/meta/fckl/symchk.meta |
Perfect! Works like a charm now:) Thank you!:) |
Hello, I was using Release Dokuwiki 2016-06-26a "Elenor of Tsort". The "internal link" field is filled like this : If I use the DW file browser to create the same link, the "internal link" field is correctly filled with : I followed the steps : I have not the issue with an internal media. Thanks ! |
Internal links are not governed by the links in userfiles; the links in userfiles are configured for media files. If your savedir is correctly configured in the Configuration Manager, these links will be created by ckgedit and will point to your media directory. The path to your wiki files in data/pages does not need any special configuration. Where is your dokuwiki located? Is it in the DocumentRoot? |
Hello Myron ! |
Yes. The default is |
When using custom savedir for Dokuwiki then using CKG Edit link creator to create internal link, it creates incorrect link.
Expected link:
:documents:somepage
Reality:
:data01:virt111:domain:www.page.com:dataDir:wiki_data:pages:documents:action_plan
The text was updated successfully, but these errors were encountered: