Blog

Displaying the Joomla Search Results Page with the Correct Template on Home Page

Fix broken template features for search results on the home page...

If you use the search module on the home page, the home page template loaded for the search results page instead and you would normally have the search results appear below pre-existing content. However this isn't the case for other menu items away from the home page.

So what is the solution?

Joomla before 1.7

  1. Create a new menu group called Hidden Menu using the Menu Manger
  2. Add the native "Search Form or Search Results" menu item to the new Hidden Menu
  3. Then go to the Module Manager and create a new search module and publish where needed
  4. Joomla will discover the Hidden Menu and use the link there

Joomla after 1.7 (including 2.5)

  1. Create a new menu group called Hidden Menu using the Menu Manger
  2. Add the native "Search Form or Search Results" menu item to the new Hidden Menu
  3. Then go to the Module Manager and create a new search module and publish where needed
  4. Joomla will NOT discover the Hidden Menu and use the link there, do the following in addition to the previous steps
    1. Go to Extensions > Modules > Search and enter the itemID of the Hidden Menu item created earlier into the field called "Set ItemID"
    2. This is important and the only way to make search results appear within the context of the search menu item
    3. This actually gives you more power to send the results page to any url you like within the site

       

Share on Myspace

Latest News

Shape5 RSS template self feeding [solution]

You should use an RSS module in relevant position if you want to render a third party feed, or grab one from a different part of the same website in question.

To show a relevant page feed (auto-feed articles on your own site), do this:

Increasing site search query length

This is tested in Joomla 2.5.x only, it may work in J3.x.x

You need to edit the file at root/language/en-GB/en-GB.localise.php and focus on line 64(ish).

Highlighting unpublished article content

This quick article tells you how to make highlights to unpublished article content items when using a category blog layout. It helps a user/editor/publisher/you identify easily with a visual aid which articles are not published. We are only covering Joomla 2.5.x.

Highlighting registered only articles

This brief article will tell you how to make highlights on registered access only article content similar to the default highlighting found on unpublished articles when a user is logged in. It covers Joomla 2.5.x.

Check a user is admin in Joomla 2.5.x

If you are modifying the edit form for Joomla 2.5.x or other form that requires a need to test if this is a Super Administrator just use the following. Handy if you need to block out certain functionality for different user groups but you still need full access to those options as an administrator.

map

Our Address:
61 Davies Road
Crows Nest QLD 4355
Hours of Operation:
Mon. to Fri. 9am to 5pm
Weekends Prior arrangement only

EasyTransform

EasyTransform is an outsourcing service that will take your PDF forms to dynamic website forms with a view to meet the requirements of the Disability Discrimination Act (opens in new window). Put your forms in our capable hands. Onsite or remote demonstration of a form that you nominate is available for a setup fee. Read more...

Cascading Style Sheets

Need someone who is able to build that custom edge into your website template or toolset for your employees and/or clients, talk to us today about implementing your design so that anything you dream up in design can become a reality on the web.