Forum OpenACS Q&A: Re: Res: Re: RFC: Remake of file-storage

Collapse
Posted by Jose Agustin Lopez Bueno on
Hi, Hamilton!

I am testing ajax-filestorage-ui. I have installed the package rightly but when I open one folder I get the next error:

"Sorry, we encountered an error rendering the tree panel"

and nothing is displayed. In the log I have not any message.
The same in Firefox and IE.
I have download ajax* packages from head.

Do you know where could be the problem, please?

Thanks,
Agustin

Collapse
Posted by Hamilton Chua on
Hi Agustin,

Thanks for downloading and trying out ajaxfs-ui.
Can you double check the mount point for ajaxfs-ui in site-map.

I think it should be ajaxfs2. If it's not mounted as ajaxfs2, can you try to delete it and mount ajax-filestorage-ui as ajaxfs2.

Let me know if that fixes the problem.

Best,

Ham

Hi Hamilton!

Yes, now it is working.

I will like to use that filestorage alternatively
with the old. That will be user election. Is it possible?
One parameter to do that? One flag in the index.adp?

Thanks,
Agustin

Collapse
Posted by Hamilton Chua on
Hi Agustin,

I'm glad you got it working. My recommendation is to add a parameter in the file storage package (e.g. UseAjaxUi)

Then in the index.tcl and index.adp of your file storage package. You can check for the value of this parameter.

Best,

Hamilton

Hi again!

I have put one toggle in the index.tcl / index.adp for
every user can change the file viewer.

Some ideas I have seen:

-How to "Copy" files and folders?
-Perhaps "Download" for files in file contextual menu?
-Menu contextual for folders (left window) ?
-Drag and drop from file explorer?
-Lost two labels in catalog: File and CopyLink

Thanks for you time!
Agustin