test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • megath Friend
    #203422

    Hello,

    One small quick question, which I’ve not found the solution, yet

    Let’s say, from the search module on the front page, any visitor query will display the results on the new page, instead of the current front page itself, any setting to do this?

    Regards

    Luna Garden Moderator
    #558117

    Hi,
    To make search results stay in current page, you can follow this step:

    1. Create a menu item or edit a menu item with item Type set to JA K2 Filter >> Item List
    2. In backend >> module JA K2 Filter set Ajax filter to Yes
    Set Menu ItemID to menu item in step 1.

    megath Friend
    #558851

    <em>@Luna Garden 456880 wrote:</em><blockquote>Hi,
    To make search results stay in current page, you can follow this step:

    1. Create a menu item or edit a menu item with item Type set to JA K2 Filter >> Item List
    2. In backend >> module JA K2 Filter set Ajax filter to Yes
    Set Menu ItemID to menu item in step 1.</blockquote>

    Sorry if my question is not very clear before, I have the search module on the front page, i need the results page were automatically opened on a new page, other than the front page where the module were located, were this features possible?

    Regards

    Luna Garden Moderator
    #559018

    Hi,

    I get your point. Here is the solution:
    Go to file:
    modulesmod_jak2filtertmpldefault.php
    Find for:
    <form id="<?php echo $formid; ?>" name="<?php echo $formid; ?>" method="POST"
    action="<?php echo JRoute::_('index.php?option=com_jak2filter&view=itemlist&Itemid='.$itemid); ?>">

    and change to:

    <form id="<?php echo $formid; ?>" name="<?php echo $formid; ?>" method="POST" target="_blank"
    action="<?php echo JRoute::_('index.php?option=com_jak2filter&view=itemlist&Itemid='.$itemid); ?>">

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Luna Garden 9 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum