The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Adding Search Box!

View previous topic View next topic Go down

In progress Adding Search Box!

Post by viper_swipe on December 17th 2014, 4:07 pm

Hey there! Just needed help to make a search box in my forum! Like this forum has it on the side!

viper_swipe
New Member

Posts : 19
Reputation : 1
Language : English

http://cstbr.sampforum.net

Back to top Go down

In progress Re: Adding Search Box!

Post by Soul on December 17th 2014, 4:44 pm

Hello viper_swipe,
If you would like it on the side, simply follow the steps below!

Access Administration Panel -> Click Modules Tab -> Click "Forum widgets management" (Under Portal & Widgets) -> Drag the "Serach" widget box to either the right or left side of the layout in the center of the page -> Click SAVE!

This should add a search bar widget to either the right or left side of your forum. You can also customize it further with CSS. If you need any assistance, let me know!

Hope this helps!

-James

Soul
Forumember

Male Posts : 673
Reputation : 79
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

In progress Re: Adding Search Box!

Post by viper_swipe on December 17th 2014, 5:37 pm

Ummm.... I tried it ! I enabled Display Forum Widgets , dragged the search widget to the right!
But when i preview my forum! Its not there!MadConfused
@Jadster

viper_swipe
New Member

Posts : 19
Reputation : 1
Language : English

http://cstbr.sampforum.net

Back to top Go down

In progress Re: Adding Search Box!

Post by Soul on December 17th 2014, 8:26 pm

Hello viper_swipe,
Have you made sure that there are pixels allowed on the right side of the forum for widgets to appear? They tend to default to the left. Check to see if this is the case. It will be at the top of the page on the Widgets Management page.

-James

Soul
Forumember

Male Posts : 673
Reputation : 79
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

In progress Re: Adding Search Box!

Post by viper_swipe on December 21st 2014, 9:38 am

I tried, didnt happen i changed left to 0 and right to 180 and checked but nothing happened and then i tried 300 but still nothing happened

viper_swipe
New Member

Posts : 19
Reputation : 1
Language : English

http://cstbr.sampforum.net

Back to top Go down

In progress Re: Adding Search Box!

Post by Ange Tuteur on December 21st 2014, 11:44 pm

Hello @viper_swipe,

You have the following settings set ?
Display > Modules > Forum widgets management


Along with a widget in the right column.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Adding Search Box!

Post by viper_swipe on December 22nd 2014, 9:26 am

Yup!

viper_swipe
New Member

Posts : 19
Reputation : 1
Language : English

http://cstbr.sampforum.net

Back to top Go down

In progress Re: Adding Search Box!

Post by Ange Tuteur on December 22nd 2014, 10:53 am

Could you provide a link to your forum ?

Thanks

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Adding Search Box!

Post by viper_swipe on December 24th 2014, 9:58 am

csbr.sampforum.net

viper_swipe
New Member

Posts : 19
Reputation : 1
Language : English

http://cstbr.sampforum.net

Back to top Go down

In progress Re: Adding Search Box!

Post by Infamous✔ on December 24th 2014, 10:02 am

He's right, I don't see a search box.

Infamous✔
New Member

Male Posts : 13
Reputation : 1
Language : English
Location : Rekamu

http://rekamu.gameproforums.com

Back to top Go down

In progress Re: Adding Search Box!

Post by Ange Tuteur on December 24th 2014, 10:10 am

Go to Administration Panel > Display > Templates > General > overall_header Edit

Find :
Code:
<div id="pun-head">
 <div id="pun-navlinks">
 <ul class="clearfix">
 <li>{GENERATED_NAV_BAR}</li>
 </ul>
 </div>
 </div>

Replace by :
Code:
<div id="pun-head">
 <div id="pun-navlinks">
 <ul class="clearfix">
 <li>{GENERATED_NAV_BAR}</li>
 </ul>
 <!-- BEGIN switch_search_box -->
 <div id="search-box">
 <form method="get" action="{ACTION_SEARCH}" id="search">
 <p class="nomargin"><input type="text" name="search_keywords" id="keywords" maxlength="128" class="inputbox search" value="{L_SEARCH}..." onclick="if (this.value == '{L_SEARCH}...') this.value = '';" onblur="if (this.value == '') this.value = '{L_SEARCH}...';" />
 {JS_SESSION_ID_INPUT}
 <input class="button2" type="submit" value="{L_SEARCH}" /></p>
 </form>
 </div>
 <!-- END switch_search_box -->
 </div>
 </div>

Save and publish Add


Then go to Display > Colors > CSS stylesheet and add the following to you sheet.
Code:
#search-box {
 text-align:right;
 margin-top:10px;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Adding Search Box!

Post by Infamous✔ on December 24th 2014, 10:11 am

Know whats wierd? I moved search to the left side, and it showed, move to right side, and didn't show, What forum version are you using?

Infamous✔
New Member

Male Posts : 13
Reputation : 1
Language : English
Location : Rekamu

http://rekamu.gameproforums.com

Back to top Go down

In progress Re: Adding Search Box!

Post by viper_swipe on December 25th 2014, 6:15 am

PunBB

viper_swipe
New Member

Posts : 19
Reputation : 1
Language : English

http://cstbr.sampforum.net

Back to top Go down

View previous topic View next topic Back to top


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