Help - Search - Members - Calendar
Full Version: What Files Are In My Directories? - Without Using Ftp
Movable Type Community Forum > Additional Resources > Tips and Tricks
pschwar
Is there a way to see what's in a particular directory through the MT admin panel (maybe with a plug-in)? For instance, I have a directory titled "images", how can I see what's in it? And I don't want to have to use FTP/SSH/etc..

Thanks for your help!!
Su-
General file management/browing: No.
But since you mention the images dir specifically, if you want to do this for purposes of reusing a set of files(say, topic icons or something), you might look at the Icon-o-Matic plugin.
dwees
QUOTE (Su- @ Aug 21 2006, 06:01 PM) *
General file management/browing: No.
But since you mention the images dir specifically, if you want to do this for purposes of reusing a set of files(say, topic icons or something), you might look at the Icon-o-Matic plugin.


There is a way to do this, but it's a bit tricky to set up. Basically you use the Enhanced Entry Editting plugin and you can edit the settings to use the TinyMCE ImageManager plugin and then you can upload images directly into a directory on your server, edit the pictures (which creates a duplicate), manage your images by creating directories, and then actually put the images directly into your posts. It works especially well if you change the settings of the TinyMCE editor to Advimage (so you can make some additional adjustments to the images). If you use this, it comes with a filemanager as well, so you can then add the 'Flash' plugin to TinyMCE you can then upload your Flash files to the server as well.

There are lots of potential pitfalls, so I'll describe a few quickly.

1. The Imagemanager wants to use the 'userFiles' directory which it assumes exists in the root directory of your website. My suggestion is, rather than chase the code around looking for all of the instances of the directories, create a 'userfiles' directory and chmod it to 777.

2. Setting up the plugin to work with the settings of TinyMCE can be a bit tricky, but if you look through the information at the TinyMCE editor manual, you can solve most of your problems yourself. You may need to look through most of the manual until you have your question answered, some of the examples aren't totally appropriate.

3. You will probably need to update the entire TinyMCE editor to the newest version to get this all to work, but you can download that here.

4. Anything that allows users to upload files to a server, and then essentially link to those files within their posts is a HUGE security risk, and I wouldn't go through all of this unless your blog essentially has only very trusted users (don't assume ignorant users are trustworthy, I've been web programming for a grand total of 3 months, and I already know how to incapacitate most phpBB forums on the net).

Dave
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.