I'd like to figure out a way for the user to be able to add URLs to NukeOwl folders using the same method the module uses to upload files. Basically, I have one folder that I would both files and URLs to be listed in.
So far, I've managed to find the NukeOwl_forms_files_upload function in pnforms.php and copy the function, calling the new one NukeOwl_forms_URL_upload. I done the same thing in pnformsapi.php. For both functions Ive made what I believe are the adjustments to remove the instances of "files" and replace them with URL. I've created a new table in the database, similar to the "owl_files" table, but calling it "owl_urls" and I believe I've correctly adjusted the upload function to talk to the correct table.
But my problem now is that when the user tries to upload a URL, they get an error saying "File Transfer Failed/ Make sure that the size of the file doesn't exceed the upload limit set by your server."
This can't actually be the problem, as I have no problem upload large files.
Anyone have any experience with NukeOwl and maybe have some ideas for me? I don't want to use the Web Links module, as I would like both the uploaded files and URLs to appear together.
Thanks in advance for any assistance offered.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- nestormateo responded to »Fillters in Clip« 06:33 AM
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 03:19 AM
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
