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

CHMOD file only in subdirectory

[FYI] Do this...

Start with directories if you are changing them for the web server first, this will change files too:

$ find images -type d -exec chmod 755 {} +

Then run it again to change files, with the different switch:

$ find images -type f -exec chmod 644 {} +

I recommend adding a recursive (-R) switch along with a verbose output (-v):

$ find images -type f -exec chmod -Rv 644 {} +

You may need to use super permissions to action this. Be warned, this can lock you out.

Joomla 3 - Add language file support for plugins

Do this...

/**
* Load the language file on instantiation.
*
* @var    boolean
* @since  3.1
*/
protected $autoloadLanguage = true;

Generic domains names now available

Here's a full list of "Generic" domain names you probably never thought were available (register at http://hosting.noxidsoft.com):
.technology
.international
.wiki
.tattoo
.university

Login Form