| New Search Features in Joomla 1.7 |
| Tuesday, 01 November 2011 08:45 |
|
Joomla 1.6 and 1.7 introduced some new features regarding search, which may be helpful to you when building websites. Save a search in a menu itemYou may now make a link to a page which returns the results of a pre-defined Joomla search. For example, if you wanted to link to a page that contained the search results for the word "beginner", you would configure it as follows:
The resulting menu item, when clicked, will automatically perform a search for the term(s) you selected in the menu item and return the results on the screen. What is this good for? It could be considered a fake tagging system. If a keyword appears in an article, it should be pulled up using the search. Unfortunately, Joomla's search is not the best. The development team is working on some improvements to search, which should be available in Joomla 2.5 or 3.0 (depending on when they're ready). Therefore, I'd recommend you not use this feature just yet -- wait for the improved search first, and then this feature will be a powerful addition to Joomla. Create a search pageThe next question is how to create a generic search page, where a visitor could enter any search term. Essentially, this page is the equivalent to the search module, which displays a field where you can enter a search term and then click the search button. You would use this option if you needed a search page appearing in a menu, but you did not want the search box itself on the website. (Now, most people look for a box with a button by it and assume it's a search box -- it's a well-established design pattern on the web. We could debate the merit of having a menu item labeled Search and whether people would find it. But on occasion, this is something you may wish to include, so here's the way to make it happen.) Creating a search page was a straightforward task in Joomla 1.5, but unfortunately, the interface for doing this same task is misleading and confusing in Joomla 1.7.
Unfortunately, this is one of the worst user interfaces I've ever seen in Joomla. It could be fixed by some simple language changes.
Let's hope this interface is improved in the next Joomla release. Jen Kramer is the president of 4Web, a New England based consultancy specializing in highly customized Joomla websites. Jen has authored many lynda.com instructional videos and written a book on the topic. |
If you want Joomla training delivered to the comfort of your own home, then you need to join Joomlashack University - an affordable online Joomla training course taught by the world's leading experts in Joomla education.