file upload

  • Alexa Alexa
    T3PO
    0 x
    23 Beiträge
    0 Hilfreiche Beiträge
    16. 08. 2005, 11:34

    Hallo,

    ich habe ein Problem mit dem File Upload.

    Ich habe im setup eingestellt, dass jeder User die Dateien in seinen eigenen Ordner hochladen soll. Leider funktioniert das nicht und er läd die Dateien nicht in den Pfad, sondern irgendwo hin.

    Könnt ihr mir vielleicht sagen, was ich falsch mache?

    Hier mein Setup:

    1. plugin.tx_fileupload_pi1.checkMime = 0
    2. plugin.tx_fileupload_pi1.mimeInclude = image/gif,image/jpeg,application/x-zip-compressed
    3. plugin.tx_fileupload_pi1.mimeExclude = application/octet-stream
    4. plugin.tx_fileupload_pi1.checkExt = 1
    5. plugin.tx_fileupload_pi1.extExclude = exe,php,php3
    6. plugin.tx_fileupload_pi1.extInclude = *
    7. plugin.tx_fileupload_pi1.maxsize = 50000
    8. plugin.tx_fileupload_pi1.FEuserHomePath = fileadmin/ssffm
    9. plugin.tx_fileupload_pi1.FEuserHomePath = 1
    10. plugin.tx_fileupload_pi1.FEuserHomePath.field = username
    11. plugin.tx_fileupload_pi1.noOverwrite = 1
    12. plugin.tx_fileupload_pi1._CSS_DEFAULT_STYLE (
    13. )
    14. plugin.tx_fileupload_pi1._LOCAL_LANG.default {
    15. }
    16. plugin.tx_fileupload_pi1._DEFAULT_PI_VARS {
    17. }

    Was ist eigentlich das "doc/wizard_form.html"? Muss ich da das

    1. plugin.tx_fileupload_pi1.FEuserHomePath = 1
    2. plugin.tx_fileupload_pi1.FEuserHomePath.field = username

    auch noch einfügen?

    Danke für eure Hilfe!

    LG, Alexa


  • 1
  • Alexa Alexa
    T3PO
    0 x
    23 Beiträge
    0 Hilfreiche Beiträge
    18. 08. 2005, 16:07

    Hallo,

    habe es nun hinbekommen!

    Hier der richtige Code:

    1. plugin.tx_fileupload_pi1.checkMime = 0
    2. plugin.tx_fileupload_pi1.mimeInclude = image/gif,image/jpeg,application/x-zip-compressed
    3. plugin.tx_fileupload_pi1.mimeExclude = application/octet-stream
    4. plugin.tx_fileupload_pi1.checkExt = 1
    5. plugin.tx_fileupload_pi1.extExclude = exe,php,php3
    6. plugin.tx_fileupload_pi1.extInclude = *
    7. plugin.tx_fileupload_pi1.maxsize = 50000
    8. plugin.tx_fileupload_pi1.path = fileadmin/ssffm/
    9. plugin.tx_fileupload_pi1.FEuserHomePath = 1
    10. plugin.tx_fileupload_pi1.FEuserHomePath.field = username
    11. plugin.tx_fileupload_pi1.noOverwrite = 1
    12. plugin.tx_fileupload_pi1._CSS_DEFAULT_STYLE (
    13. )
    14. plugin.tx_fileupload_pi1._LOCAL_LANG.default {
    15. }
    16. plugin.tx_fileupload_pi1._DEFAULT_PI_VARS {
    17. }

    Leider funktioniert das, mit dem automatischem Ordner anlegen nicht!

    Im doc/wizard_form.html muss man nur den Pfad angleichen, dann funktioniert es!

    LG, Alexa

  • joeboule joeboule
    T3PO
    0 x
    20 Beiträge
    0 Hilfreiche Beiträge
    10. 01. 2006, 14:31

    Hallo,

    vielleicht hilft das weiter:
    [url]http://www.typo3.net/forum/list/list_post//9194/?page=1&sword=fileupload#pid31777[/url]

    Gruss Jochen

  • steffenk steffenk
    Obi-Wan Kenobi
    0 x
    4666 Beiträge
    0 Hilfreiche Beiträge
    12. 01. 2006, 14:15

    doc/wizard_form.html wird vom Kickstarter angelegt und auch wieder von ihm eingelesen.

    Zur Pfaderstellung kannst Du auch ext_emconf.php benutzen, dort unter createDirs

  • 1