-
- 16 Posts
Hello,
It’s my first few days dealing with MODx and PHP (I am a relatively experienced ASP web developer though) and I am trying to build my first module, one that can be used for creating articles for a news-related website.
In the form that I have made, there is a number of fields that the user is able to insert some images for the article, images that can be selected from the already uploaded files (server file system)
Is there something like a popup window that will contain the folder structure, give the ability to navigate through the folders and finally to choose the desired file?
I guess that this is a common request/need, so there has to be something...I hope!
Thank you in advance for your assistance.
How many articles are you creating and would this be from the front end or the back end?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
- 16 Posts
Thanx for your reply. The site has to do with the electronic version of a local newspaper, so we are talking about several articles that will be inserted weekly.
The form is in the module I am developing, so it has to do with the backend. I have looked for a similar popup throughout the MODx manager interface, but I could not find anything.
The closest thing that I could find is the popup from the WYSIWYG text editor for inserting a file, but that’s not the thing that I am looking for.
-
- 2,877 Posts
Read the whole thread:
http://modxcms.com/forums/index.php/topic,31697.0.html
advantages:
- content management
- tv management
- fast tree access
- VERY comfortable sorting and visual understanding
- easy document editing - separated buttons for doc properties and doc content editing
I dunno the current status...
-
- 16 Posts
Thanx for your reply. I have installed the DocSort module, but this is for handling the documents (pages) of your site, not the files that have been uploaded.
Actually, what I am looking for is this: If you go at the Modx Manager, under Resources > Manage Files, there is a page that let’s you manipulate folders and files.
What I would like is this page in a popup, so I can navigate through the server filesystem, choose a file, and copy its path and filename into the desired text field.
(Something like the Publish date field for webpages, but with choosing a file, instead of the date...)
UPDATED: I finally managed to create a copy of the aforementioned page, changed its functionality according to my needs, and got the job done!
Please share with the rest of the community if you don’t mind!
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
- 2,877 Posts
Ohh I was thinking MODx-folders!
-
- 2,877 Posts
Well aside from using image TV and FCKeditor filemanager when editing MODx documents, there
are snippets like fileupload and download...