I Need help about make forum search system.

Ask anything you want to know
Post Reply
obaydulbc
Posts: 29
Joined: Tue Mar 07, 2023 1:37 pm

I Need help about make forum search system.

Post by obaydulbc »

There no example for make forum search system. Can anyone help me for forum search?????
leedalgoo
Posts: 11
Joined: Sun Mar 19, 2023 7:18 am

Re: I Need help about make forum search system.

Post 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
obaydul24bc
Posts: 7
Joined: Wed Mar 13, 2024 4:04 pm

Re: I Need help about make forum search system.

Post 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
obaydulbc
Posts: 29
Joined: Tue Mar 07, 2023 1:37 pm

Re: I Need help about make forum search system.

Post by obaydulbc »

Noy work
Post Reply