Pagina 2 di 2 primaprima 1 2
Visualizzazione dei risultati da 11 a 14 su 14
  1. #11
    guarda guarda ki mi trovo a parlare di questo editor...
    eh eh
    :P
    ci sto lavorando su anke io

    indovina a cosa mi serve
    =LoD=
    Studio Arkaios
    Arkaios.it

  2. #12
    Originariamente inviato da LoD
    guarda guarda ki mi trovo a parlare di questo editor...
    eh eh
    :P
    ci sto lavorando su anke io

    indovina a cosa mi serve

    lol! l'ho notata un pò tardino la tua risposta
    tirando ad indovinare direi per una bella gestione news...no?


    comunque è davvero formidabile! ora sto aggiornando tutto alla 2.1.1
    poi il fatto che sia opensource la rende ancora migliore!

    Bellissima la nuova parte che hanno messo nella selezione dei file caricati dove si vede anche l'anteprima!



    Ciaoooooooooo!


    e buone feste!
    Talvolta anche una persona apparentemente inutile si rivela un abile samurai dalla forza di mille uomini, dimostrando di poter rinunciare alla vita e che il suo cuore si è completamente identificato con quello del suo padrone

  3. #13
    Utente di HTML.it L'avatar di emu86
    Registrato dal
    May 2005
    Messaggi
    324
    ciao... come fai a vedere l'anteprima? io ho installato l'ultima versione uscita, òa 2.3.2, ma nel file browser dell'editor non vedo nessuna anteprima.

    inoltre ho anche un altro problema: non mi inserisce l'url corretto nei link a immagini e file. cioè al posto di inserire http://www.dominio.ext/userfiles/images/immagine.jpg mi inserisce http:///userfiles/images/immagine.jpg. dove posso settare l'inserimento del dominio? ho inserito anche il basehref nel file di configurazione, ma non va...

    ps: utilizzo fckeditor in un file php includendo il file fckeditor.php nel file in cui mi serve l'fckeditor.

    grazie mille per le risposte.

  4. #14
    Mi intrufolo per chiedervi:
    Io uso il file manager di fckeditor per caricare le immagini.
    Come faccio a copiare in due cartelle diverse un file?

    Quando la chiamata arriva al connector.asp ho bisogno che una Sub venga chiamata due volte per caricare su due percorsi diversi, ma non ci riesco. Ovviamente, nella seconda chiamata della sub io mi catturo la cartella dove mettere lo stesso file, ma la sub non va più di una volta.

    Ecco il connector.asp

    <%@ CodePage=65001 Language="VBScript"%>
    <%
    Option Explicit
    Response.Buffer = True
    %>
    <!--
    * FCKeditor - The text editor for Internet - http://www.fckeditor.net
    * Copyright (C) 2003-2007 Frederico Caldeira Knabben
    *
    * == BEGIN LICENSE ==
    *
    * Licensed under the terms of any of the following licenses at your
    * choice:
    *
    * - GNU General Public License Version 2 or later (the "GPL")
    * http://www.gnu.org/licenses/gpl.html
    *
    * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
    * http://www.gnu.org/licenses/lgpl.html
    *
    * - Mozilla Public License Version 1.1 or later (the "MPL")
    * http://www.mozilla.org/MPL/MPL-1.1.html
    *
    * == END LICENSE ==
    *
    * This is the File Manager Connector for ASP.
    -->






    <%

    If ( ConfigIsEnabled = False ) Then
    SendError 1, "This connector is disabled. Please check the ""editor/filemanager/browser/default/connectors/asp/config.asp"" file"
    End If

    ' Get the "UserFiles" path.
    Dim sUserFilesPath

    If ( Not IsEmpty( ConfigUserFilesPath ) ) Then
    sUserFilesPath = ConfigUserFilesPath

    If ( Right( sUserFilesPath, 1 ) <> "/" ) Then
    sUserFilesPath = sUserFilesPath & "/"
    End If
    Else
    sUserFilesPath = "/userfiles/"
    End If

    ' Map the "UserFiles" path to a local directory.
    Dim sUserFilesDirectory
    sUserFilesDirectory = Server.MapPath( sUserFilesPath )

    If ( Right( sUserFilesDirectory, 1 ) <> "\" ) Then
    sUserFilesDirectory = sUserFilesDirectory & "\"
    End If

    DoResponse

    Sub DoResponse()
    Dim sCommand, sResourceType, sCurrentFolder

    ' Get the main request information.
    sCommand = Request.QueryString("Command")
    If ( sCommand = "" ) Then Exit Sub

    sResourceType = Request.QueryString("Type")
    If ( sResourceType = "" ) Then Exit Sub

    sCurrentFolder = Request.QueryString("CurrentFolder")
    If ( sCurrentFolder = "" ) Then Exit Sub

    ' Check if it is an allower resource type.
    if ( Not IsAllowedType( sResourceType ) ) Then Exit Sub

    ' Check the current folder syntax (must begin and start with a slash).
    If ( Right( sCurrentFolder, 1 ) <> "/" ) Then sCurrentFolder = sCurrentFolder & "/"
    If ( Left( sCurrentFolder, 1 ) <> "/" ) Then sCurrentFolder = "/" & sCurrentFolder

    ' Check for invalid folder paths (..)
    If ( InStr( 1, sCurrentFolder, ".." ) <> 0 OR InStr( 1, sResourceType, ".." ) <> 0 ) Then
    SendError 102, ""
    End If

    ' File Upload doesn't have to Return XML, so it must be intercepted before anything.
    If ( sCommand = "FileUpload" ) Then
    FileUpload sResourceType, sCurrentFolder
    Exit Sub
    End If

    SetXmlHeaders

    CreateXmlHeader sCommand, sResourceType, sCurrentFolder

    ' Execute the required command.
    Select Case sCommand
    Case "GetFolders"
    GetFolders sResourceType, sCurrentFolder
    Case "GetFoldersAndFiles"
    GetFoldersAndFiles sResourceType, sCurrentFolder
    Case "CreateFolder"
    CreateFolder sResourceType, sCurrentFolder
    End Select

    CreateXmlFooter

    Response.End
    End Sub

    Function IsAllowedType( resourceType )
    Dim oRE
    Set oRE = New RegExp
    oRE.IgnoreCase = True
    oRE.Global = True
    oRE.Pattern = "^(File|Image|Flash|Media)$"

    IsAllowedType = oRE.Test( resourceType )

    Set oRE = Nothing
    End Function
    %>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.