Develop search plugin to integrate it with joomla's search. - Joomla! Forum - community, help and support


i using joomla 2.5.7.
i have develop search plugin integrate joomla's built-in search.
the need search inside "titles", "descriptions" video list component.
i thinking "search - categories", "search - content", "search - contacts" etc.

i have read this... http://docs.joomla.org/creating_a_search_plugin, not sure how date!

any suggestions ?!

thank you!

if use http://docs.joomla.org/creating_a_search_plugin tutorial... change these lines of code...

code: select all

$mainframe->registerevent( 'onsearch', 'plgsearchnameofplugin' );
$mainframe->registerevent( 'onsearchareas', 'plgsearchnameofpluginareas' );

with these...

code: select all

$mainframe = jfactory::getapplication();
$mainframe->registerevent( 'oncontentsearch', 'plgsearchnameofplugin' );
$mainframe->registerevent( 'oncontentsearchareas', 'plgsearchnameofpluginareas' );





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support