nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.

Tag This



.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Adding content types to mSearch
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> mSearch
View previous topic :: View next topic  
Author Message
lene
Newbie
Newbie


Joined: Sep 15, 2006
Posts: 1

PostPosted: Fri Sep 15, 2006 4:52 am    Post subject: Re: mSearch is too good to forget Reply with quote

I have installed mSearch a few days ago and I'm pretty happy with it. But it doesn't search all my modules. I found out that mSearch can be extended but I don't know how I have to write such a extension (e.g. for Coppermine). Maybe someone can explain me hox to do that.
  
Back to top
View user's profile Send private message ICQ Number
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 875

PostPosted: Fri Sep 15, 2006 5:44 am    Post subject: Re: mSearch is too good to forget Reply with quote

If you know PHP, it's not too difficult to add content types to mSearch. They work almost the same way as content types for the nukeSEO Sitemap. mSearch stores them in the modules/mSearch/modules directory. When you add a new module there, it is enabled by default. It must conform to the class structure defined by the base search class, but it isn't difficult to copy and modify one of the existing modules / content types.

An important thing to to remember: do not store a copy of a module in the modules/mSearch/modules directory. Like the nukeSEO Sitemap, the search function will crash if there are 2 or more modules with the same class name.

I hope to have a tutorial that better explains how the search class works and shows an example of creating additional content types.
_________________
  
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> mSearch All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.05 Seconds