> ¿Cómo pasar a la caja de texto del FCKEditor el valor de una variable ASP? > Es decir, lo clásico que se hace con: > <textarea name="contenido"><%=variable%></textarea> > o con: > <input type="text" value="<%=variable%>" /> > para que la caja tenga un texto predeterminado, ¿cómo puedo implementarlo > con el FCK?
Yo lo uso con php, pero si miro los samples que hay de asp veo: <% ' Automatically calculates the editor base path based on the _samples directory. ' This is usefull only for these samples. A real application should use something like this: ' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. Dim sBasePath sBasePath = Request.ServerVariables("PATH_INFO") sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) ) Dim oFCKeditor Set oFCKeditor = New FCKeditor oFCKeditor.BasePath = sBasePath oFCKeditor.Value = <%=variable%> oFCKeditor.Create "FCKeditor1" %> -- Alejandro Lillo www.nordic-design.net _______________________________________________ Lista de distribución Ovillo Para escribir a la lista, envia un correo a Ovillo@lists.ovillo.org Puedes modificar tus datos o desuscribirte en la siguiente dirección: http://ovillo.org/mailman/listinfo/ovillo