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

Matias Basilico mbasilico at gmail.com
Sat Aug 27 18:50:47 CEST 2005


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



More information about the opencms-dev mailing list