Recent Posts
SeC Gaming
the Lounge
New Lounge Topic
New Gaming Topic
We've moved to Discord

You are not connected. Please login or register

to those versed in HTML

4 posters

Go down  Message [Page 1 of 1]

1to those versed in HTML Empty to those versed in HTML 2011-08-17, 14:12

Admin

Admin

for the search bar... what would my action command be to take us to the search page AND show topics?

so far it just keeps sending me to the search page...


this is my code so far

Code:
<form method="get" action=""/search" id="search"" class="qsearch"><input type="text"> <input type="submit" value="Search"></form>

http://www.speakeasyclinic.com

2to those versed in HTML Empty Re: to those versed in HTML 2011-08-17, 14:14

Admin

Admin

ive also tried this

Code:
 <form method="get" action="/search.forum?mode=searchbox&show_results=topics" class="qsearch"><input type="text"> <input type="submit" value="Search"></form>

http://www.speakeasyclinic.com

3to those versed in HTML Empty Re: to those versed in HTML 2011-08-17, 14:15

Bla125

Bla125

If you ever need any help with coding or anything go to webartzforum.com and they will help you:)

4to those versed in HTML Empty Re: to those versed in HTML 2011-08-17, 17:47

Ars Diaboli

Ars Diaboli

Eh well, in the first one, you are closing the quotes. So it shouldn't work.

action=""/search"

I would need to know how exactly this forum works and how it is structured to tell you the action command. As it is, you should just need to type the file/page where the search takes place. It may also depend on what it uses. Is it ASP or PHP? I've not really worked with PHP.

5to those versed in HTML Empty Re: to those versed in HTML 2011-08-17, 18:17

Admin

Admin

php.

thanks i missed that ars

http://www.speakeasyclinic.com

6to those versed in HTML Empty Re: to those versed in HTML 2011-08-17, 18:50

Chewy

Chewy

Wait so what exactly are you trying to do? Show the search results and also show the regular forum topic list?

If you're trying to do that you'll just need to have a php include line on the search page for your main page.

Or did you already fix it?

7to those versed in HTML Empty Re: to those versed in HTML 2011-08-17, 19:51

Admin

Admin

havnt touched it yet.

i added the seach button, and it worked as far as sending you to the seach page.

id like for it to do THAT and show the threads related to the search you did

http://www.speakeasyclinic.com

8to those versed in HTML Empty Re: to those versed in HTML 2011-08-18, 19:26

Chewy

Chewy

But isn't that what it does now? It shows you the search results which are threads related to your search...

Either way you just need to have php include line that has whatever page you want to load in it and it will load the html of that page inside the page. Like include("~/index.php") (not sure if ~ works as root in php can't remember) And that page can still grab parameters from the URL.

Not sure if you can do that on forummotion though...

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum