Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • meziane Friend
    #1065310

    Hello,
    I want to make my page contain just filter box (Without date). Then after enter the data in filter box, The matching data appear.
    How i can do it?
    Thanks

    Mr.Cat Moderator
    #1065428

    @meziane,

    You have to modify some js cdoe to achieve it. Open file

    /components/com_jamegafilter/assets/js/main.js

    Find line

    lnmain.render();

    and add this line after that

    $('.ja-megafilter-wrap .main-content').hide();

    Then, open file

    /components/com_jamegafilter/assets/js/megafilter.js

    Find line

    self.filterChangeHandle = function () {

    and add this line after that

    $('.ja-megafilter-wrap .main-content').show();

    Regards

    Wisdom is not a product of schooling but of the lifelong attempt to acquire it.

    meziane Friend
    #1065506

    It is great, It is working, Thank you.

    Can i make the search filter execute "And" logic not just "Or"?
    I mean i want to display the date according to all fields not just one.

    Mr.Cat Moderator
    #1065587

    @meziane,

    I still don’t get it. Can you tell me more detail or some pictures to describe it ?

    Thanks

    Wisdom is not a product of schooling but of the lifelong attempt to acquire it.

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

This topic contains 3 replies, has 2 voices, and was last updated by  Mr.Cat 7 years, 1 month ago.

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