Re: CuteEditor as Image Selector

  •  04-02-2009, 4:18 PM

    Re: CuteEditor as Image Selector

    Okay, now I'm having a second issue. I have two editors on the same page.
     
    1. Dim editor1  
    2. Set editor1 = New CuteEditor  
    3. editor1.ID = "LogoEditor"  
    4. editor1.Width = "201"  
    5. editor1.Height = "108"  
    6. editor1.AutoConfigure = "None"  
    7. editor1.FilesPath = "/Dashboard/CuteEditor_Files"  
    8. editor1.ImageGalleryPath = path1  
    9. editor1.ShowBottomBar = false  
    10. editor1.Draw()  
    11.   
    12.   
    13.   
    14. Dim editor2  
    15. Set editor2 = New CuteEditor  
    16. editor2.ID = "MainPicEditor"  
    17. editor2.Width = "350"  
    18. editor2.Height = "200"  
    19. editor2.AutoConfigure = "None"  
    20. editor2.FilesPath = "/Dashboard/CuteEditor_Files"  
    21. editor2.ImageGalleryPath = path2  
    22. editor2.ShowBottomBar = false  
    23. editor2.AllowUpload = false     
    24. editor2.AllowCreateFolder = false     
    25. editor2.AllowRename = false     
    26. editor2.AllowDelete = false  
    27. 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.
View Complete Thread