[opencms-dev] Error in tree.js in WYSIWYG editor when I createalink...

Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Sat Aug 27 19:30:37 CEST 2005


If I understand you well enough, the error occurs after clicking in the
small tree window on a folder and the user is a system user (or a web
user?), right?

Does the same user have the same problem through the standard login
form?

I guess the logged in user hasn't enough right to execute the js script,
or are you using IE?  ;-)

Is it possible to contribute your code to the list, or is it copy right?

Kind Regards,
Arash


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Matias Basilico
Sent: Samstag, 27. August 2005 18:51
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Error in tree.js in WYSIWYG editor when I
createalink...


I make the user login with a custom form (there is a ocms user related),

then I configure the session to be in the offline project with the loged
in user... then I use a template with the "direct edit" function... and
the wysiwyg editor displays in the web browser but without the
workplace...

Matias Basilico (Matutek)

2005/8/27, Arash Kaffamanesh <arash.kaffamanesh at pomegranate.de>:
> Hi,
> 
> How do you access the wysiwyg editor from outside the workplace?
> 
> Arash
> 
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Matias Basilico
> Sent: Samstag, 27. August 2005 17:55
> To: The OpenCms mailing list
> Subject: [opencms-dev] Error in tree.js in WYSIWYG editor when I 
> create alink...
> 
> 
> Hi all...
> 
> I'm trying to use the wysiwyg editor from outside the workplace, it is

> all ok...but I have a little problem when I want to insert a link... I

> click in the create link button, I click in the folder that opens the 
> tree but It seems to be a JavaScript Error when displaying the tree...
> 
> Here I send the error, It is:
> 
> "Error: vr.resource[3] has no properties"
> //Source File: http://myserver.com/opencms6/resources/commons/tree.js
> (Line: 296)
> 
> the line wich is involved is:
> 
>                         // this node is not a folder
>                         if (vr.resource[node.type] != null) {
>                                 showPic(doc, vr.skinPath + 
> vr.resource[node.type].icon);
>                         } else {
>                                 // unknown type, use "plain" icon
> Line 296    ==>   showPic(doc, vr.skinPath + vr.resource[3].icon);
>                         }
> 
> 
> And it is in the:
> 
> function dfsTree(doc, node, depth, last, shape);
> 
> 
> Any help??
> --
> Matutek
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please 
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please 
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 


-- 
Matutek


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list