I want to place my search box above category. As my homepage is category and want to place it above that. Like in this forum also. I am using public_vforg in which its only in "all discussion" page. So i want it mainly in category page.
but i checked in another theme which is:
<div id="Body">
<div class="Wrapper">
<div id="Panel">
<div class="SearchBox">{searchbox}</div>
{asset name="Panel"}
</div>
<div id="Content">
{asset name="Content"}
</div>
</div>
</div>
Still with the first one its showing SearchBox.. dont know how..
I did that but when i open all discussion page i get 2 search boxes one small(added using ur code) and other big(orignal). there must be some other trick i guess.
whu606I'm not a SuperHero; I just like wearing tights...MVP
As22
That's odd. I've downloaded the vforge theme and when I enable it I don't see a search button until I put that code in the default.master.tpl file. You must have made some modification.
whu606I'm not a SuperHero; I just like wearing tights...MVP
OK - got rid of all my other themes and I can see the big search box now. Not sure where it is called from, but you can get rid of it using the custom.css file, and the same technique as for the toggle box in the other thread.
Answers
@wuf606 now this one :-) Help me with this one!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Sorry - tried to edit and it double posted...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •AfaIk that is governed by the default.master.php file.
You should have one in your custom theme's views folder.
Have a look through there and you should find the code.
Then just cut and paste it to where you want it. It may take some experimenting to get it right!
Look at the source code of the page you want it to be like to get the answer.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •No, Its not there.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •What isn't?
The code or the default.master.php file?
The code is certainly in mine, I've just managed to do what you want.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •default.master.php is there but there is not like searchForm
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Look for the word Search!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@As22
I checked mine, it's all there...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@jongos @whu606 i have this.
but i checked in another theme which is:
<div id="Body"> <div class="Wrapper"> <div id="Panel"> <div class="SearchBox">{searchbox}</div> {asset name="Panel"} </div> <div id="Content"> {asset name="Content"} </div> </div> </div>Still with the first one its showing SearchBox.. dont know how..
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •As22 - which theme are you using?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •public_vforg @whu606
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •OK, that doesn't seem to have a search box as default.
Is there any particular reason you are using that theme?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •You need to paste this:
<div class="SearchBox">{searchbox}</div>between the Body div and the Content div.
You may then need to play with the css to get it as you want it.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I did that but when i open all discussion page i get 2 search boxes one small(added using ur code) and other big(orignal). there must be some other trick i guess.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •As22
That's odd. I've downloaded the vforge theme and when I enable it I don't see a search button until I put that code in the default.master.tpl file. You must have made some modification.
What other files do you have in the views folder?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I have total of 3 files. 1. .DS_Store 2. default_master.tpl 3. old_default.master.php
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Why have you chosen the vforge theme, as opposed to the current one?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@whu606 what do u mean by current one? Which one are you talking about?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I think you must be using an old version of Vanilla.
The current version is 2.0.18.1
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •:( No i am using 2.0.18.1 . Installed yesterday only!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Then how did you end up with the vforge theme as your custom theme?
You must have chosen it!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •yes i downloaded it from addon section. I like the UI thats y.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I'm baffled then.
I've got the same version, I've downloaded vforge, and I don't have a search box until I put one in.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Can u please let me know if you switch to category view then also u dont have search ? and if switch to all discussion section then also?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •OK - got rid of all my other themes and I can see the big search box now. Not sure where it is called from, but you can get rid of it using the custom.css file, and the same technique as for the toggle box in the other thread.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •