Search widget to open from any page
3 posters
Page 1 of 2
Page 1 of 2 • 1, 2
Search widget to open from any page
I have a search widget on my forum that I got from Sanket which works like a charm, unfortunately it's in the portal, is there anyway of getting it to open from any page ?
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Add it as a widget.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
"getting it to open from any page" ~ sorry, I don't get that.
If its a widget, then place that widget onto the forum page.
If its a widget, then place that widget onto the forum page.
Re: Search widget to open from any page
Hoiw can I addd it to my index page ?
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Add it in the homepage message.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
I will have a look and see how this can be done I didn't realise it was possible to add a widget to my index
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Index as in its your homepage box.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Yes sanket the |Index is my home page I am just looking to see how It can be seen on the Index/Home page but I can't see an option to show it, I will keep looking
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Right I've found out how to show it but it looks a terrible mess something is not right? it seems to show on the left hand side over other things that are already there ? any idea what I must do ?
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Where did you add the code?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Hi Sanket I added the code to a widget in the mudules section under portal structure
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Nopes, you need to add it here.
Display>Generalities
Homepage message
message content:
Display>Generalities
Homepage message
message content:
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Hi thats where I have all my flags , so is there anyother place to add them? because if I add it there it will spoil my flags or push them to one side ?
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
If its below the flags ? Will that do?
what forum version are you using ?
what forum version are you using ?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Hi Sanket yes I think it would be ok below? I am using phpBB
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Just below your flags code, add this
- Code:
<br>
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Thank you Sanket if you get a min can you take a peak and tell me what you think ? my forum is open to guests
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Looks good. Instead of search the site with google. I think it could be, search with google.
As it is below is a checkbox to search for your forum posts on google.
As it is below is a checkbox to search for your forum posts on google.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Ok I will change it also is it possible for the search box to clear automaticlly once you have clicked to search ?
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
I think that would depend on your browser settings.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Ok no problem I have got rid of the boarder but there is still some boarder showing which is broken why is this ?
Thank you
- Code:
<br><div align="center"><form method="get" action="http://www.google.com/search" target="_blank"><div style=3px;width:20em;">
<table border="0" cellpadding="0">
<tr><td>
<input type="text" name="q" size="20"
maxlength="255" value="" />
<input type="submit" value="Search with Google" /></td></tr>
<tr><td align="center" style="font-size:75%">
<input type="checkbox" name="sitesearch"
value="mybulgariaportal.com" checked />Search Forum<br />
</td></tr></table>
</div>
</form>
</div>
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Which border are you exactly talking about? A screenshot would help.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Hi Sanket here it is
I need to get rid of the black?
Thank you
I need to get rid of the black?
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
See if this one works.
- Code:
<br><div align="center"><form method="get" action="http://www.google.com/search" target="_blank"><div style=3px;width:20em;">
<table border="0" cellpadding="0">
<tr><td>
<input type="text" border="0" name="q" size="20"
maxlength="255" value="" />
<input type="submit" value="Search with Google" border ="0" /></td></tr>
<tr><td align="center" style="font-size:75%">
<input type="checkbox" name="sitesearch"
value="mybulgariaportal.com" checked />Search Forum<br />
</td></tr></table>
</div>
</form>
</div>
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
No sanket it's still the same, I don't mind if its one colour all round the two boxe's
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
You see the demo page has it correct. But, i think it has got something to do with css of the forum.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Hi Sanket Yes I seen it there, but I didn't like the black boarder that was round it so I romoved it from the outer box but now I have what you can see in the image which is not good, any idea's what I can do ?
Thank you
Thank you
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Okay check this code, see if it works for you.
- Code:
<br><div align="center"><form method="get" action="http://www.google.com/search" target="_blank"><div style=3px;width:20em;">
<table border="0" cellpadding="0">
<tr><td>
<input type="text" border="4" name="q" size="20"
maxlength="255" value="" style="border:solid 1px #6DB72C;" />
<input type="submit" value="Search with Google" style="border:solid 1px #6DB72C;" /></td></tr>
<tr><td align="center" style="font-size:75%">
<input type="checkbox" name="sitesearch"
value="mybulgariaportal.com" checked />Search Forum<br />
</td></tr></table>
</div>
</form>
</div>
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Search widget to open from any page
Ok I tried it I have the Google search box below the flages not in the flag box which is fine but I have this in the flag box
value="mybulgariaportal.com" checked />Search Forum
I have left it fior you to see if you want?
Thank you again for all your help here Sanket
value="mybulgariaportal.com" checked />Search Forum
I have left it fior you to see if you want?
Thank you again for all your help here Sanket
netsniper- Active Poster
- Posts : 1040
Reputation : 0
Language : English
Location : Somewhere
Re: Search widget to open from any page
Can you give me the whole code, it seems you kinda messed up pasting the original code.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Page 1 of 2 • 1, 2
Similar topics
» Open search results in new page
» im stuck trying to make a link on a side widget open to a new page
» How can I replace the search fuction on my page to my own adsense search box?
» open widget in new window
» html page widget shows in panel, not on page
» im stuck trying to make a link on a side widget open to a new page
» How can I replace the search fuction on my page to my own adsense search box?
» open widget in new window
» html page widget shows in panel, not on page
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum