-
☆ A M B ☆
- 3,112 Posts
Quote from: alexandr at Mar 29, 2012, 01:25 AM
1. В соответствующую папку загружаем файлы с длинными именами и пробелами. Естественно имена в кодировке UTF-8. При таком раскладе имена файлов на странице вывода сниппета видны без первого слова (до первого пробела). Если скачать файл - он тоже скачивается и сохраняется без первого слова в имени. Кто нибудь сталкивался?
How is the name stored in the database?
Quote from: alexandr at Mar 29, 2012, 01:25 AM
2. Судя по составу файлов входящих в пакет сниппета, можно предположить, что можно сделать загрузку файлов через front-end. Кто нибудь делал?
Logically yes.
You can just use the common script to upload the file to the specific folder, then FileDownload R will just automatically list the new file (which is the allowed extension).
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 3,112 Posts
Quote from: alexandr at Mar 29, 2012, 02:31 AM
Full name.I found names of files only in "modx_fd_count" (table)
Is the file's/folder's name correct inside the table?
Quote from: alexandr at Mar 29, 2012, 02:31 AM
Yes, i know it and use this model, but i want to learn to build closed system for co-admins.
1. Create the HTML's form for the uploading.
2. You can use FormIt to filter permission of the submitted form.
3. Use chunk for that HTML and FormIt snippet.
4. You might want to create a custom snippet, just to show the chunk (#3) when the permitted usergroup logged in.
I hope this makes sense to you.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 3,112 Posts
Do you mind to provide me a screenshot?
I can't type cyrillics on my computer.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
I cant't provide. Filenames in table are incorrect (codepage are wrong). But i made a test. If first symbol is a no cirillic, then all is ok. If first symbol is cirillic then name will be displayed from first no cirillic symbol (in my case this symbol is " " (space)).
sample cirillic filename: "word1 word2.xls" will be displayed "word2.xls"
sample 2 cirillic filename: "Z word1 word2.xls" will be displayed "Z word1 word2.xls" becuse first symbol "Z" is no cirillic symbol.
sorry for my english.
[ed. note: alexandr rs last edited this post 14 years, 6 months ago.]
-
☆ A M B ☆
- 3,112 Posts
ok, found the problem.
I will try to fix the encoding issue.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 3,112 Posts
I'm the author of this add-on, if that's what you're asking.
Anyway, I just tested several characters.
I could fix Iñtërnâtiônàlizætiøn.txt , but not привет мир.txt.
It went to
, and that made my computer kept reading it as a plain ? (question mark) character.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.