Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Site Search Style (Discussion: How to change search block's appearance?)
Site Search Style
carloscompu
Posts: 246
Reputation: 1

Message # 31 | 6:17 PM
ok I put the code back so you can test it
What it does is that it reloads the page
This is originally the main page of load
http://cyberq.org/load

Added (2012-11-02, 12:17 PM)
---------------------------------------------
It feels like it transform the page into a search page but this page only has informer its not a search page I need it to pass to the module search page

Sunny
Posts: 9296
Reputation: 456

Message # 32 | 10:50 AM
carloscompu, try this

Code
<form onsubmit="this.sfSbm.disabled=true" method="post" style="margin:0px" action="http://cyberq.org/$MODULE_ID$/"><div align="center" class="schQuery"><input type="text" name="query" maxlength="30" size="20" class="queryField" /></div><div align="center" class="schBtn"><input type="submit" class="searchSbmFl" name="sfSbm" value="Buscar Post" /></div><input type="hidden" name="a" value="2" /></form>


instead of this

Code
<form onsubmit="this.sfSbm.disabled=true" method="post" style="margin:0px" action="/load"><div align="center" class="schQuery"><input type="text" name="query" maxlength="30" size="20" class="queryField"></div><div align="center" class="schBtn"><input type="submit" class="searchSbmFl" name="sfSbm" value="Buscar Post"></div><input type="hidden" name="a" value="18"></form>

I'm not active on the forum anymore. Please contact other forum staff.
carloscompu
Posts: 246
Reputation: 1

Message # 33 | 4:47 AM
How can I edit the search button

Quote
<form onsubmit="this.sfSbm.disabled=true" method="post" style="margin:0px" action="http://cyberq.org/$MODULE_ID$/"><div align="center" class="schQuery"><input type="text" name="query" maxlength="30" size="20" class="queryField" /></div><div align="center" class="schBtn"><input type="submit" class="searchSbmFl" name="sfSbm" value="Buscar Post" /></div><input type="hidden" name="a" value="2" /></form>


This is What Im using I tried to find the 'class' in the css but nothing was there
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 34 | 5:31 AM
carloscompu, please provide a site url. That class may not necessarily exist already in the site's css. You may need to create it. wink
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
carloscompu
Posts: 246
Reputation: 1

Message # 35 | 5:38 AM
Cyberq.org

if its not there what do i have to edit?
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 36 | 5:46 AM
Quote (Paradox)
You may need to create it.


Code
.searchSbmFl {blah blah style's go here}

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
carloscompu
Posts: 246
Reputation: 1

Message # 37 | 11:52 PM
Thanks Paradox

Added (2013-01-19, 5:52 PM)
---------------------------------------------
How do I add a thumbnail to the search result?

Sunny
Posts: 9296
Reputation: 456

Message # 38 | 11:31 AM
carloscompu, http://forum.ucoz.com/forum/37-13572-19#97851
I'm not active on the forum anymore. Please contact other forum staff.
turbomare9893
Posts: 7
Reputation: 0

Message # 39 | 3:29 PM
Hello! I have a problem with my currently search box on first page. It doesn`t show video entries when i search it by tags(only video module doesn`t work)... My entries are older than 4 days and still doesn`t work. My website:http://suntube.net/

My style of searh form:
Code
<input name="q" maxlength="30" style="width: 150px; border: 1px solid grey; background:#E9E9E9;" size="25" value="Suntube Search" onfocus="this.value=''" class="queryField" type="text">     
<input class="searchSbmFl" style="border:2px solid #64B1F5; border-radius:3px;" id="sfSbm" value="Search" type="submit">


Attachments: 5976417.jpg (2.5 Kb)
Post edited by turbomare9893 - Tuesday, 2013-02-19, 3:40 PM
Sunny
Posts: 9296
Reputation: 456

Message # 40 | 10:29 AM
turbomare9893, the global Site Search doesn't work in the Video module, only the module search works, and it can't search by tags.
I'm not active on the forum anymore. Please contact other forum staff.
turbomare9893
Posts: 7
Reputation: 0

Message # 41 | 1:58 PM
Tkank you. I have one more question. How can i then use the same style of search box, but not for global search, but only for module search form?

I am currently using this code:

Code
<input name="q" maxlength="30" style="width: 150px; border: 1px solid grey; background:#E9E9E9;" size="25" value="Suntube Search" onfocus="this.value=''" class="queryField" type="text">  
<input class="searchSbmFl" style="border:2px solid #64B1F5; border-radius:3px;" id="sfSbm" value="Search" type="submit">


What i need to change in this code?
Sunny
Posts: 9296
Reputation: 456

Message # 42 | 12:19 PM
turbomare9893, provide your website address.
I'm not active on the forum anymore. Please contact other forum staff.
turbomare9893
Posts: 7
Reputation: 0

Message # 43 | 12:43 PM
http://suntube.net/

Attachments: 7240169.jpg (2.5 Kb)
Sunny
Posts: 9296
Reputation: 456

Message # 44 | 3:04 PM
Code
<form onsubmit="this.viSbm.disabled=true" method="post" style="margin:0" action="/video/shv"><input type="text" style="width: 150px; border: 1px solid grey; background:#E9E9E9;" size="25" value="Suntube Search" onfocus="this.value=''"  name="query" maxlength="30" size="20" class="queryField" /></div><div align="center" class="schBtn"><input type="submit" class="searchSbmFl" name="viSbm" style="border:2px solid #64B1F5; border-radius:3px;" value="Search.." /></div><input type="hidden" name="ac" value="2" /></form>

I'm not active on the forum anymore. Please contact other forum staff.
turbomare9893
Posts: 7
Reputation: 0

Message # 45 | 3:47 PM
I tried this on my testing site http://jodla.ucoz.com/. Code is working, but search buton is not placed on the right side... take a look smile
Post edited by turbomare9893 - Monday, 2013-02-25, 3:46 PM
uCoz Community » For Webmasters » Design Customization » Site Search Style (Discussion: How to change search block's appearance?)
Search: