I need dotnetnuke fck editor's source code. Can you please give me directions for editing the fck editors source?
I need to add images to portal root folder externally.after uploading image it cannot select from the image manager. Image manager only show files uploaded from image manager.
FCKeditor provider is not a part of the DNN source package anymore, but you can find it at:
http://dnnfckeditor.codeplex.com
Image gallery checks that the portal has read permissions to the folder, and filters the files by extension, allowing only image files. But you should see all the image files, regardless if they show up in the DNN file manager.
But still, I would check if the files are visible in the DNN file manager, and if not, run "Synchronize Files" from the root level.
working:
the dnn source editor image gallery is working from the database.ie.if you manually copy a file into the portal folder it does not visible in the fck editor gallery.the file listing is done from the databese.
so the solution is,you should make a uploader section for uploading images and give an entry in nuke's file table.then it will visible in gallery.
There's a source package for the editor provider at http://dnnfckeditor.codeplex.com/
Related
I am uploading images to my applications storage/app/public/avatars directory. The files are uploading and are there in this folder - i have checked it. And loading the page shows the image as long as i am in my local pc. Then i moved the project to a shared hosting. Since then the images are not loading. From chrome console network tab i can see for the images laravel is throwing 404 error.
Here is what i have tried:
On the remote machine i recreated the symbolic link in my public folder as storage that is pointing to the storage/app/public folder.
Tried to copy and paste the image src directly into the browser - getting NotFoundException in RouteCollection.php
Cleared views, cache, config cache
Spent 5 hours trying to figure it out. Works fine on local pc. Just not on the shared hosting.
Desperately seeking help :(
After a bad night sleep of 4 hours i started again and found the problem. Very novice mistake, but can be ver hard to locate.
Here is what it is. I uploaded my laravel project folder to a shared hosting. Say my project name is myproject. This folder is at the same level as the public_html folder. Then i copied the contents of the myproject/public folder to the public_html folder.
As you know, you are supposed to create the symbolic link inside your public directory and the link should point to the storage/app/public directory (if you are using the public disk driver for your file storage). I did create the symbolic link inside the public folder, but at the wrong public folder. Since i copied the contents of public folder to the public_html folder, i should have created the symbolic link inside the public_html folder, not inside myproject/public folder!!
----public_html
---css
---js
---(other files etc. etc)
---storage <= this is where the symbolic link should be
----myproject
---public
---css
---js
---(other files etc. etc)
---storage <= not here!!
Very stupid of me.
btw, below is a tutorial of how to transfer a local laravel project to a shared hosting:
guide to deploy laravel 5 app on shared hosting
I have an angular 2 project that allows me to download files through a service and I know the file has been successfully downloaded as I can see the following console message:
this.rest.getGeometry(this.stlLocation).subscribe(data => console.log('file downloaded successfully'));
A look at the Network tab in the "Developer tools" confirms that the download was successful.
is it possible to save the file to a local folder such as src/app/assets?
Thank you for your help,
Dino
I'm creating an app with ionicframework. I want that the user can downolad pdf files which are in the app. In which folder i must place the files, in template folder? How can the user download the files, i must use < a ui-sref="file.pdf" >< /a >?
Thank you.
If your PDF files are in the application, you could save them in temporary filesystem and after open with default app (move them).
To get access to the device’s files and directories, you need work with plugin $cordovaFile (http://ngcordova.com/docs/plugins/file/). Here you will find the file system layout.
To open a file on your device with its default application use $cordovaFileOpener2 (http://ngcordova.com/docs/plugins/fileOpener2/)
I'm trying don't move file.
I used InAppBrowser plugin (in ionic 2 project) and i have a 'a.pdf' file in 'www' folder. i use this code:
In .js file:
> openURL(url) {
> InAppBrowser.open(url,'_system','location=yes'); }
In .html file:
<button (click)="openURL('a.pdf')">Open pdf
</button>
When i press on button the device ask me to select a program to open file, then i select adobe reader pdf. But adobe reader pdf tells me 'impossible to load file ...'.
What is the right path (url) to call openURL(url)?
Thank you.
I am making a simple app on iOS. Upon clicking a button I want the gallery or file chooser or file explorer to open, and for the user to be able to select any .txt or .pdf, .jpg or .png file from gallery.
So I want to know how to open file explore in the Ionic Framework. Is there any plugin available in Ionic or Cordova that opens the file explore and uploads to to a server? I don't want to use the email composer plugin.
You could try a simple HTML5 file input:
<input type="file">
this should open the native browser on iOS or Android and allow you to select any kind of file. For uploading, you could try the $cordovaFileTransfer plugin.
If you're targeting iOS8, which appears to have issues with the file input, I'd suggest you check out FineUploader, a JS solution.
Alternatively, you can use ngCordova's $cordovaImagePicker and $cordovaFileTransfer plugins. Install ngCordova first with Bower or include the JS files manually and inject ngCordova as an Angular dependency. Then, install the plugins with:
cordova plugin add https://github.com/wymsee/cordova-imagePicker.git
cordova plugin add cordova-plugin-file-transfer
Then, you can use the getPictures() method and the upload() methods to select photos on the device and upload them to your server. However, you won't be able to select and upload other kinds of files formats .txt or .pdf because $cordovaImagePicker only picks images
For catch the image from the gallery device you could this plugin:
$ImagePicker.
After googling a bit, i have found this plugin cordova-plugin-file-opener2, i think this one could help you to get a file stored on the device.
For the download and upload i have already used this one: $cordovaFileTransfer
Hi I am using drupal 6.x and ubercart 2.x. I trie dto create a product,but when it comes to add the file download feature I am getting some issue. I put a folder called downloads in the drupal folder and one file inside the download folder.then I gave the path as "drupal/downloads but it is telling that drupal/downloads is not a valid file or directory"
I tied the following file paths too
1.www.mysite.com/drupal/downloads/faq.ods
2.drupal/downloads/faq.ods
3.drupal/faq.ods(after putting faq.ods in the drupal folder.
But still I am getting the same message. Plesae some body help me
It is looking for a path rather than a URL. You should probably aim to find out from your hosting company what the absolute path for your webroot is (e.g. www.mysite.com may actually be on disk as /users/mysite.com/httpdocs) and put in that followed by /drupal/downloads