If your files are on the file system, the following RQL message can be used to update the asset manager.
<IODATA loginguid="[LOGIN_GUID]" sessionkey="[SESSION_KEY]"> <MEDIA> <FOLDER guid="[FOLDER_GUID]" action="updatecatalog" tempdir="[TEMP_FOLDER]" userguid="[USER_GUID]" updatethumbnails="0" subject="[EMAIL_SUBJECT]" /> </MEDIA> </IODATA> That said, I agree with Kim, if you can stay with out-of-the-box functionality to achieve the desired results, stick with that rather than using RQL. Cheers, Gavin On 16 December 2010 11:45, kimdezen <[email protected]> wrote: > Hi Brian, > > I would suggest enabling the option for users to upload content into > specific folders (its a CMS, let authors and editors manage and upload > content!!) - but incorporate Folder Authorizations (which will control > which folders specific groups of users can upload to and access) > I believe folder authorizations should be available for use in 7.5, > but its been some time now since ive used that version - so dont quote > me on it!! > > I would also suggest having a look at the 'text editor' general > settings folder option for each folder.. this checkbox will control if > users have access to folders within the Text Editor. As a rule of > thumb, any 'System' folders (which contain code, scripts, background > images, styles etc) should not be made available via the Text Editors > for authors for obvious reasons! > > Ive found that messing around with files and folders with RQL very > messy.. try to avoid it if at all possible! > > Cheers, > Kim > > > On Dec 16, 6:25 am, Brian <[email protected]> wrote: > > I just recently inherited the RedDot 7.5 system at the university > > where I work after the previous web manager left. > > The question I have is the process that others use for uploading > > files(images, PDFs, etc.) to be used on pages. > > > > We currently have folders created for each department that has a site > > in RedDot under Administer Project Settings->Folders > > They send us the files they want to use and we put them in their > > folder then they can access them for use on their page. > > We get a lot of requests for uploading files and I wondered if there > > was a better way to do this. > > > > I was told that the reason it’s done this way is because the > > individual editors in the departments don’t have access to these > > folders and we wanted to maintain a consistent naming structure for > > the files. > > I thought about writing something in PHP to allow the user to login > > and upload files to their folder, this would use a admin account > > behind the scenes to FTP the files up. The only problem with this is > > I’m sure there are entries written to the database when these files > > are uploaded using the SmartTree and I wouldn’t want to get anything > > out of sync. > > > > Is this a job for RQL? How is everyone else handling uploading user > > files? > > > > Thanks, > > Brian > > -- > You received this message because you are subscribed to the Google Groups > "RedDot CMS Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<reddot-cms-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/reddot-cms-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
