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!
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...
with these...
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
Post a Comment