Page 1 of 1

I Need help about make forum search system.

Posted: Wed Mar 13, 2024 9:43 am
by obaydulbc
There no example for make forum search system. Can anyone help me for forum search?????

Re: I Need help about make forum search system.

Posted: Wed Mar 13, 2024 10:52 am
by leedalgoo
Add this somewhere

Code: Select all

<form method="get">
<input type="text" name="search" value="">
<input type="submit">
</form>
Just add attribute 'action' in form if you want to redirect it to other page

then in forum lister code, add this

Code: Select all

<a href="/forum.html?id=%id%">%name%</a><br>
Config :

Code: Select all

<parent>0</parent>
<search>{{GET(search)@OR(empty)}}</search>
<limit>5</limit
Default :

Code: Select all

Not found

Re: I Need help about make forum search system.

Posted: Wed Mar 13, 2024 4:04 pm
by obaydul24bc
leedalgoo wrote: Wed Mar 13, 2024 10:52 am Add this somewhere

Code: Select all

<form method="get">
<input type="text" name="search" value="">
<input type="submit">
</form>
Just add attribute 'action' in form if you want to redirect it to other page

then in forum lister code, add this

Code: Select all

<a href="/forum.html?id=%id%">%name%</a><br>
Config :

Code: Select all

<parent>0</parent>
<search>{{GET(search)@OR(empty)}}</search>
<limit>5</limit
Default :

Code: Select all

Not found
Thank you.. I will try

Re: I Need help about make forum search system.

Posted: Wed Mar 13, 2024 5:50 pm
by obaydulbc
Noy work