Page 1 of 1

UniversalXPConnect privileges denied

PostPosted:Fri Jan 22, 2010 12:55 pm
by calil
I read the topic "UniversalXPConnect privileges denied" in the old forum http://www.openkm.com/Configuration/256 ... .html#2563 and I think that make a rule in the "about:config" would not be 0k for most users (once it got to be done in the user machine)!

Why don't you just change the "Copy URL" botom for a "Show URL" one? Than, the user can select and copy the URL! Without any trouble!!

Re: UniversalXPConnect privileges denied

PostPosted:Fri Jan 22, 2010 4:11 pm
by jllort
The problem is "selecting text with mouse" that could be a ugly in UI. For it reason we control in major panels what can be copied and what not using styles. The problem of css is cascading when in some html element disables copy, you're dissabling in all child, and you can not enable in this case. That's the problem in the document view tab panel. Yes we could disable each element, one by one, but really it's not good for maintenance code. That's the problem !!! any suggestion it'll be welcome.

Re: UniversalXPConnect privileges denied

PostPosted:Wed Jan 27, 2010 2:53 pm
by calil
An alternative would be make a Firefox plugin including this rule in the "about:config" and configuring Javascrpt to be sure that the right button menu works properly (see http://forum.openkm.com/viewtopic.php?f ... otton#p321).

Re: UniversalXPConnect privileges denied

PostPosted:Thu Jan 28, 2010 1:41 am
by wangmj
perhaps ,RichTextArea can resolve the problem .
unfortunately there is a bug in IE.
textarea don't support copy and paste in IE.

Re: UniversalXPConnect privileges denied

PostPosted:Tue Feb 23, 2010 8:06 am
by msundman
We're evaluating OpenKM right now, and I agree this is a big problem. It must be easy to cut and paste links to documents. I think it would be best if the "Copy to clipboard" button could be complementet with the full URL in plaintext visible that the user can mark and copy himself as other has suggested.

If that isn't possible to solve with some kind of textarea editbox, what about another button "Show URL" that opens a pop-up window displaying the URL in a mark-n-copy friendly way?

Also, I'd like to through in another little feature request. I'd like to have the same possibility to show/copy URLs to a whole folder as you can to a file today. The usage for that in my case is that I'd like to integrate OpenKM with our CRM application, and have a link for each customer pointing to a specific customer-folder in OpenKM where we could store documents for that customer. I'd also like to be able to store such links in our wiki to point to further documentation in a specific folder in OpenKM.

Otherwise, thanks for a great app. It definitly looks promising, and I love the fact that it's opensourced. So if we decide to use it in production I'll probably get my hands dirty in the code as well :)

Re: UniversalXPConnect privileges denied

PostPosted:Tue Feb 23, 2010 10:00 am
by jllort
Hi,

Really it's easy to create a popup as you suggest. I'll put in our enhancements for OpenKM 5.0.

About document url or folder url I must say that OpenKM can do it now, but we're not exploting this enhancement. Document url is something like ?docPath= and folder is something like ?fldPath=

Please if you want to make some enhancement or collaborate in some way in source code, contact with us first. We'd like to make your live more easy, and we'd like to include it on OpenKM svn head ( when your enhancements could be public ) or simply to ensure your code it'll be compatible with newer OpenKM versions. We always suggest it. If you contact with us, give some idea about what you've got in mind ( your enhancements roadmap and your problems with actual version, we're interesting in both ).

Re: UniversalXPConnect privileges denied

PostPosted:Wed Feb 24, 2010 9:27 am
by pavila
I don't see it like a problem. The solution is documented in the OpenKM wiki at Troubleshooting -> Error when click on "Copy to clipboard". This is related to Firefox security and is ease to "solve". Anyway a little of user knowledge is always needed to use an application.

The OpenKM administrator should be aware of some tips like this.