how to extend search to include uploaded files?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
geepers
Dev Team Member
Dev Team Member
Posts: 84
Joined: Thu Nov 22, 2007 10:41 pm

how to extend search to include uploaded files?

Post by geepers »

Does anyone know of a method to extend the {search} function to include searching the names of files in the 'uploads' folder?

I realize this is consider a security risk, however, this installation resides on a closed network.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: how to extend search to include uploaded files?

Post by calguy1000 »

Use the uploads module.... it supports search.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
somhi
New Member
New Member
Posts: 4
Joined: Sun May 25, 2008 5:38 pm

Re: how to extend search to include uploaded files?

Post by somhi »

Hi!! 

And what if I don't want that the files on the upload module are listed by the search?

What I don't want is that users not registered can see the names of files from uploads module using the search. 

by the way,  this is my first message on the forum.

Jordi
somhi
New Member
New Member
Posts: 4
Joined: Sun May 25, 2008 5:38 pm

Re: how to extend search to include uploaded files?

Post by somhi »

getting there

{search modules="album,news,filemanager"}   

but bloody hell, which is the name of the module that shows content pages??

Or, is there a way to allow search from all modules except one?

Cheers,
Jordi
Last edited by somhi on Sun May 25, 2008 8:49 pm, edited 1 time in total.
somhi
New Member
New Member
Posts: 4
Joined: Sun May 25, 2008 5:38 pm

Re: how to extend search to include uploaded files?

Post by somhi »

this works out

{search modules="album,news,filemanager,customcontent,FrontEndUsers,menumanager,modulemanager,nusoap,printing,search, ThemeManager,TinyMCE,SelfRegistration"}

but I still wondering which is the content main module????

Cheers,
Jordi
somhi
New Member
New Member
Posts: 4
Joined: Sun May 25, 2008 5:38 pm

Re: how to extend search to include uploaded files?

Post by somhi »

Finally...

What I only needed was  {search modules="album,news,search"}  to avoid seeing in search files from module uploads.

Jordi
Post Reply

Return to “CMSMS Core”