1. Sukinoz
  2. Sherlock Holmes
  3. Feature Requests
  4. Monday, 30 April 2018
  5.  Subscribe via email
Hello,

In Filter Module we have the option "Target Menu Item". This is usefull when the search/filter form is used on a page that isn't a featured articles or category blog page.

But we need to be set this "Target Menu Item" also in pages that are featured articles or category blog page.

We have a category with several subcategories:
Category Trainning:
subcategory Courses
subcategory Masters

When the user is in a subctegory, we need that he can search in the hole category (not only in the subcategories)
Accepted Answer
Accepted Answer Pending Moderation
You mean - so you can force the filter module to use a specific menu item in all cases?

I can add this as a config option for the next release - in the meantime you can change the code as follows. Edit the file modules/mod_easylayoutfilter/tmpl/default.php and change lines 32-28 from

if (JFactory::getApplication()->input->get("option")!="com_content"
|| !(JFactory::getApplication()->input->get("view")=="featured" ||
(JFactory::getApplication()->input->get("view")=="category" && JFactory::getApplication()->input->get("layout")=="blog"))
)
{
$action = JRoute::_("index.php?Itemid=" . $Itemid);
}


to

$action = JRoute::_("index.php?Itemid=" . $Itemid);
Review EasyLayouts. If you use EasyLayouts please post a rating and a review at the Joomla! Extensions Directory.
https://extensions.joomla.org/extension/easylayouts/
  1. more than a month ago
  2. Feature Requests
  3. # Permalink
Accepted Answer Pending Moderation
You mean - so you can force the filter module to use a specific menu item in all cases?


Exactly. This way we can put the "search(filter) module" in any page of the web.

I will try your code and tell feedback

Thanks for your time.

PD: do you know you have the most complete Search Module of Joomla at this time? :p
I have not found another one who can search in article content and custom fields (not like the joomline JL Content Fields Filter one) and the display is in the same joomla Blog Layout (not like the Joomlart filter).
  1. more than a month ago
  2. Feature Requests
  3. # 1
Accepted Answer Pending Moderation
Tested. works fine.

Now, we can display the Search/Filter Module in any page of the web, not only in the category where the search is going to take place.

THANK YOU
  1. more than a month ago
  2. Feature Requests
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Demo Site

You can access our demo at https://demo.easylayouts.net.

You can easily switch EasyLayouts off and on again via a special module on the demo site and can also access the backend to experiment with the layouts. The demo resets every hour so bear in mind that the demo looks a bit odd that someone else may have changed the layouts before you viewed the page.

Keep up to date

Keep up to date with news about EasyLayouts