1. Trang chủ
  2. » Công Nghệ Thông Tin

Thiết kế web với joomla 1.6(5).x part 51 ppsx

7 206 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 7
Dung lượng 1,21 MB

Nội dung

Chapter 19: Working with Plugins 477 FIGURE 19.18 The Editor Button - Readmore Plugin dialogue. Search plugins The Search group of plugins enables the site search functionality. Different plugins enable the indexing and searching of different types of content — articles, web links, contacts, categories, sec- tions, and news feeds. All the plugins in the default installation are enabled. Disabling a particular plugin results in the related content being excluded from the search results. Note The Search plugin files are located in the directory plugins/search. Content The Content plugin enables the indexing and searching of articles on your site. The plugin’s dia- logue is shown in Figure 19.19. Note The principal file for this plugin is content.php. Part III: Working with Components, Modules, and Plugins 478 FIGURE 19.19 The Search - Content Plugin dialogue. The Plugin Parameters section contains the following options: l Search Limit: Type an integer value in this field to specify the maximum number of search results to return. l Articles: Set the Parameter to No to exclude articles from the search results. The default setting is Yes. l Uncategorized Articles: Set the parameter to No to exclude uncategorized articles from the search results. The default setting is Yes. l Archived Articles: Set the parameter to No to exclude archived articles from the search results. The default setting is Yes. Weblinks The Weblinks plugin enables the indexing and searching of web link items. The plugin’s dialogue is shown in Figure 19.20. Chapter 19: Working with Plugins 479 FIGURE 19.20 The Search - Weblinks Plugin dialogue. Note The principal file for this plugin is weblinks.php. The Plugin Parameters section contains only one option: Search Limit. Type an integer value in this field to specify the maximum number of search results to return. Tip Disable this plugin to exclude web links from the search results. Contacts The Contacts Plugin enables the indexing and searching of the contacts in your site. The plugin’s dialogue is shown in Figure 19.21. Note The principal file for this plugin is contacts.php. Part III: Working with Components, Modules, and Plugins 480 FIGURE 19.21 The Search - Contacts Plugin dialogue. The Plugin Parameters section contains only one option: Search Limit. Type an integer value in this field to specify the maximum number of search results to return. Tip Disable this plugin to exclude contacts from the search results. Categories The Categories Plugin enables the indexing and searching of the Categories content. The plugin’s dialogue is shown in Figure 19.22. Note The system name for this plugin is categories.php. The Plugin Parameters section contains only one option: Search Limit. Type an integer value in this field to specify the maximum number of search results to return. Chapter 19: Working with Plugins 481 Tip Disable this plugin to exclude categories content from the search results. Joomla! 1.6 There is no Categories plugin in Joomla! 1.6. Sections The Sections plugin enables the indexing and searching of the sections content. The plugin’s dia- logue is shown in Figure 19.23. Note The principal file for this plugin is sections.php. The Plugin Parameters section contains only one option: Search Limit. Type an integer value in this field to specify the maximum number of search results to return. FIGURE 19.22 The Search - Categories Plugin dialogue. Part III: Working with Components, Modules, and Plugins 482 FIGURE 19.23 The Search - Sections Plugin dialogue. Tip Disable this plugin to exclude sections content from the search results. Newsfeeds The Newsfeed Plugin enables the indexing and searching of News Feed items. The plugin’s dia- logue is shown in Figure 19.24. Note The principal file for this plugin is newsfeeds.php. The Plugin Parameters section contains only one option: Search Limit. Type an integer value in this field to specify the maximum number of search results to return. Tip Disable this plugin to exclude News Feeds from the search results. Chapter 19: Working with Plugins 483 FIGURE 19.24 The Search - Newsfeeds Plugin dialogue. System plugins The System plugins provide a variety of global system functions, from caching to debugging. Of the seven Plugins in this category only three are published. The other four plugins (Debug, Legacy, Cache and Log) provide functions that not all users may want or need. Note The System plugin files are located in the directory plugins/system. SEF The SEF Pplugin enables the use of Search Engine Friendly URLs in the articles on your site. This plugin is independent from the Search Engine Friendly option in the Global Configuration Manager. The plugin is enabled in the default installation. The plugin’s dialogue is shown in Figure 19.25. Note The principal file for this plugin is sef.php. . return. Chapter 19 : Working with Plugins 4 81 Tip Disable this plugin to exclude categories content from the search results. Joomla! 1. 6 There is no Categories plugin in Joomla! 1. 6. Sections The. dialogue is shown in Figure 19 .20. Chapter 19 : Working with Plugins 479 FIGURE 19 .20 The Search - Weblinks Plugin dialogue. Note The principal file for this plugin is weblinks.php. The Plugin Parameters. dialogue is shown in Figure 19 . 21. Note The principal file for this plugin is contacts.php. Part III: Working with Components, Modules, and Plugins 480 FIGURE 19 . 21 The Search - Contacts Plugin

Ngày đăng: 04/07/2014, 06:20

w