Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED] search bar doesn t work?
(1 viewing) (1) Guest
Userguide, Report bugs, New Ideas...
  • Page:
  • 1
  • 2

TOPIC: [SOLVED] search bar doesn t work?

Re: search bar doesn t work? 11 years, 8 months ago #5785

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Andrea Bioli,

Please go to "modules\mod_finder\helper.php", finding:

public static function getGetFields($route = null)
{
	$fields = null;
	$uri = JURI::getInstance(JRoute::_($route));
	$uri->delVar('q');

	// Create hidden input elements for each part of the URI.
	// Add the current menu id if it doesn't have one
	$needId = true;
	foreach ($uri->getQuery(true) as $n => $v)
	{
		$fields .= '<input type="hidden" name="' . $n . '" value="' . $v . '" />';
		if ($n == 'Itemid') {
			$needId = false;
		}
	}
	if ($needId) {
		$fields .= '<input type="hidden" name="Itemid" value="' . JFactory::getApplication()->input->get('Itemid', '0', 'int') . '" />';
	}
	return $fields;
}



change to

public static function getGetFields($route = null)
{
	$fields = null;
	$uri = JURI::getInstance(JRoute::_($route));
	$uri->delVar('q');

	// Create hidden input elements for each part of the URI.
	// Add the current menu id if it doesn't have one
	$needId = true;
	foreach ($uri->getQuery(true) as $n => $v)
	{
		$fields .= '<input type="hidden" name="' . $n . '" value="' . $v . '" />';
		if ($n == 'Itemid') {
			$needId = false;
		}
	}
	if ($needId) {
		//$fields .= '<input type="hidden" name="Itemid" value="' . JFactory::getApplication()->input->get('Itemid', '0', 'int') . '" />';
	}
	return $fields;
}


Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.
The following user(s) said Thank You: systronic

Re: search bar doesn t work? 10 years, 12 months ago #11399

hello, I have the same problem, the search does not work on frontpage, my template is sj_news, www.dambovitanews.ro
please help
thanks
The topic has been locked.

Re: search bar doesn t work? 10 years, 12 months ago #11416

  • SA Thuy
Dear bogdan simion,

Please try to do following steps in previous post of SA Supporter.

Thanks
The topic has been locked.

Re: search bar doesn t work? 10 years, 9 months ago #12834

Hi!
And why does not work the search box on your demo site -demo.smartaddons.com/templates/joomla3/sj-news/?
On installed systems of sj_news_quickstart all exactly the same.
A search for Cyrillic does not work even worse (so to speak).
In this template, search ever worked?
Last Edit: 10 years, 9 months ago by Staseek.
The topic has been locked.

Re: search bar doesn t work? 10 years, 9 months ago #12875

Dear Stas Mut,

We will update the template in the near future.
Please try to do following steps in previous post of SA Supporter.

Thanks
The topic has been locked.

Re: search bar doesn t work? 10 years, 9 months ago #12889

Thank you. I have discovered the reason.
The problem was again linked with the Swedish character set some pages of template.
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes