Page 1 of 1

Not Show ALL results upon page load

Posted: 2015-05-13 14:14
by frengix
Hi

I am trying to design a catalog with a quick search button. What I need help with please is how to prevent the default behavior in a particular page where first 4 results in the table are shown. I need a clear page and only start showing results when I perform a search. How can this be accomplished?

Thanks

Re: Not Show ALL results upon page load

Posted: 2015-05-14 11:58
by Satya Kavala
HI,
i think hooks init() function may be useful for you because init() function is called when the page is loading there you can place the condition for searching .

Re: Not Show ALL results upon page load

Posted: 2015-05-16 11:31
by frengix
Thanks but I am just a newbie in this with no coding experience in PHP. So I wouldn't really know how to do that! :|
Could you help guide me?

Thanks

Re: Not Show ALL results upon page load

Posted: 2015-05-18 05:13
by Satya Kavala
Hi, Yeah sure ...

Re: Not Show ALL results upon page load

Posted: 2015-05-21 16:05
by frengix
Great, can you guide me as to how to do it please then?

Thanks

Re: Not Show ALL results upon page load

Posted: 2015-05-22 12:17
by primitive_man