Vince's Blog

Keeping you up-to-date (Jim Beam not included)

New Search plugin : Search Form Elements

There's a new search plugin available in the Jomres Plugin Manager. In fact, there are two, one provides the functionality, the other provides samples and information on how to use it.

A few years ago I created the Search Widget plugin. It did the job, but it wasn't as flexible as I wanted it to be, so I've been working on a new Search feature called Search Form Elements.

This new search plugin is actually a large collection of shortcodes that point to individual search element creation scripts. See the screenshot from the Search Form Elements Guide below to see what they look like.

This plugin allows you to build search forms in Wordpress pages and Joomla articles/modules using any mixture of items you want to offer searches on. It includes both the Autocomplete inputs, plus older Country/Region/Town dropdowns, the new Sleeps Adults and Sleeps Children search boxes and all of the rest of the usual elements you would expect to see.

To add a search form to your site, decide how you want to display it (in a page, article or module) and paste the contents from one of the shortcode sets into the Content area.

In Joomla, if you want to add it to a module create a custom module, paste in the shortcode set and in the Options tab set "Prepare Content" to yes/on. Once you've done that, configure it as you would any other module.

The Search Form Elements Guide plugin provides information about Search Form Elements plugins, copyable links to each of the shortcodes you can use, and example code that can be copied directly into pages/articles/modules.


These plugins are officially Beta, version 0.1 however the functionality relies on tried and tested Jomres Core search features, so I don't anticipate any significant changes will be needed. Jomres Core itself required a couple of tweaks so that these search shortcodes would work the way I wanted, so to get the best out of them for now, you'll need to update to the Nightly branch to test them. Both plugins will still work in Jomres 10.6, however.

All examples are written to work with Bootstrap 5. Joomla 4 users won't have any problems directly pasting the code direct into their articles, nor will Wordpress users who have their Bootstrap setting set to "No Bootstrap in theme", because when that's set Jomres will use it's Bootstrap 5 template set. Anybody using a Joomla Template with a lower version of Bootstrap may need to modify the files found in /templates/bootstrap3/ to work with their site.

 Update 21 April 2023

I've added a demo of the search form elements plugin to the landing page of the Joomla Vanilla Demo. I've also configured that demo to use Stripe test keys so you can see the payment gateway in action.




Bootstrap, Features, Plugins, Articles

  • Created on .


vince picDeveloped and maintained by Vince Wooll, Jomres was initially conceived in early 2005 as a Mambo based solution to a client’s hotel management needs. While it wasn't originally expected to be an online booking system it quickly morphed into one as users requested more and more features.

As the number of feature requests grew Vince knew that he would need to dedicate more time to the project and in July 2005 Jomres was released as a commercial project. Since then Jomres has become the world's oldest online booking plugin for any PHP CMS. It has been used in Joomla 1.0, 1.5, 2.5, 3 & 4 and WordPress 4, 5 & 6.

Aladar joined the project in 2010 after using Jomres for his own projects. He was active on the forum, helping other members of the community and eventually Vince invited him to join the team. Between 2010 and 2018 he was an integral part of the project and made many significant contributions.

Whilst not formally part of the Jomres project, Rodrigo Rocco and Vince have become firm friends. Rod is a freelancer who specialises in doing custom work for Jomres users and developing custom plugins for the system that take advantage of it's modular design. He has built many useful extensions including his fabulous Valentina Template Override Package.

Jomres and the Jomres Logo is trademarked and can't be used without written consent from the owner. is not affiliated with or endorsed by the Joomla! Project, Open Source Matters or the WordPress project. The Joomla! & WordPress names and logos are used under a limited license granted by Open Source Matters and the WordPress Projects.

© Copyright 2005 - 2022 Vince Wooll