Okay, now I'm having a second issue. I have two editors on the same page.
- Dim editor1
- Set editor1 = New CuteEditor
- editor1.ID = "LogoEditor"
- editor1.Width = "201"
- editor1.Height = "108"
- editor1.AutoConfigure = "None"
- editor1.FilesPath = "/Dashboard/CuteEditor_Files"
- editor1.ImageGalleryPath = path1
- editor1.ShowBottomBar = false
- editor1.Draw()
-
-
-
- Dim editor2
- Set editor2 = New CuteEditor
- editor2.ID = "MainPicEditor"
- editor2.Width = "350"
- editor2.Height = "200"
- editor2.AutoConfigure = "None"
- editor2.FilesPath = "/Dashboard/CuteEditor_Files"
- editor2.ImageGalleryPath = path2
- editor2.ShowBottomBar = false
- editor2.AllowUpload = false
- editor2.AllowCreateFolder = false
- editor2.AllowRename = false
- editor2.AllowDelete = false
- editor2.Draw()
On the first one, I'm getting an error saying "The area you are attempting to access is forbidden". However, I can set the second editor to the first one's path, and the second one works, while the first one does not. If i remove the second editor from the page, the first one works just fine. I've tried adding the restrictions (upload, create folder, rename, delete) to the first one, and also removing them from the second - neither solves anything.
Both paths are valid and are accesible. I can do one editor or the other, and each reaches it's own path just fine. But something about them being on the same page is affecting the first one.
They are set up this way because the first one is for the users to upload images to their own folder, and the second one will be pulling from a folder common to multiple users with pre-selected stock images already in place.