SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 203 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

$getContent."\n"
.'alert(content);';
onCustomEditorButton
Description Build a custom button for an editor.
Parameters name Name of the editor area.
Returns
An array of three elements, the JavaScript to execute when the button is
pressed, the name of the button, and the CSS Style.
Chapter 6
[ 151 ]
Search
We use search plugins to extend the core search component and get search results.
There are two events associated with this group, onSearch and onSearchAreas. The
purpose of onSearchAreas is a little more obscure.
To help explain, this is a screenshot of the search component:
As part of this, a user has the option as to which areas they want to search. In this case,
'Articles', 'Weblinks', 'Contacts', 'Categories', 'Sections', and 'Newsfeeds'. When we
trigger the onSearchAreas event, it is these 'areas' that we expect to be returned.
A single search plugin can deal with multiple areas.
The onSearch event is more implicit; it is the event that is raised when a search takes
place. Listeners to this event should return an array of results.


Pages:
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6