Title of Search Widget

Oct 1, 2011 at 11:46 PM
Edited Oct 1, 2011 at 11:49 PM

Hi friends, how are you? I hope well :D
Then, I explain the problem: how can i make the tile of the Search Widget like the others widget?.
This is a bese widget (TextBox):

 

 <div class="widget textbox" id="blablabla"">
    <h4>
        About the author</h4>
    <div class="content">
        Something about the author
    </div>
</div>

and here is a result with a little mod in the Searbox.cs controls

 <div class="widget search" id="blablabla">
    <div class="content">
        <label for="searchfield" style="display:none">Search</label>

 <input type="text" value="Enter search term or APML url"
id="searchfield" onkeypress="if(event.keyCode==13) return BlogEngine.search('/oranjet/')"
onfocus="BlogEngine.searchClear('Enter search term or APML url')"
onblur="BlogEngine.searchClear('Enter search term or APML url')">
<input type="button" value="Search" id="searchbutton"
onclick="BlogEngine.search('/mydomain/');" onkeypress="BlogEngine.search('/mydomain/');">
    </div>
</div>

 

How can I add <h4> element before div .content?

Thanks in advance, have a nice day!

Oct 27, 2011 at 12:50 AM

The html for the Search Widget is made in the file: SearchBox.cs

Its located here:

root/app_code/controls/SearchBox.cs

 

You have to add the code needed there to get the <h4> tag into the search widget.

 


Java Blog

Oct 27, 2011 at 11:55 AM

Many thanks, kbdavis, solved! :D