Use SkinObject
USAGE (HTML SKIN) <Object> <%@ Register TagPrefix="dnn" TagName="GCSEARCH"
Src="~/DesktopModules/GCSearchSO/GCSearch.ascx" %> Then use the following GCSearch tag within the skin to include the Search
Textbox. <dnn:GCSEARCH runat="server" id="dnnGCSEARCH" UID="YOURUIDHERE"
SearchBoxWidth="250" SearchResultsURL="http://www.yoursite.com/search.aspx"
SearchButtonText="Search" /> GCSEARCH PROPERTIES UID - Unique Identification # provided by Google
==================
GCSEARCH
must be referenced in your DNN portal's skin file.
If you are working with
an HTML skin file, use the token [GCSEARCH] and include your settings in the
accompanying XML file. See below....
<Token>[GCSEARCH]</Token>
<Settings>
<Setting>
<Name>UID</Name>
<Value>YOURUIDGOESHERE</Value>
</Setting>
<Setting>
<Name>SearchResultsURL</Name>
<Value>http://www.yoursite.com/search.aspx</Value>
</Setting>
<Setting>
<Name>SearchButtonText</Name>
<Value>Search</Value>
</Setting>
<Setting>
<Name>SearchBoxWidth</Name>
<Value>250</Value>
</Setting>
</Settings>
</Object>
USAGE (ASCX SKIN)
=================
Simply add the following
Register tag to register the GCSearch Skin Object on top of the skin.
===================
Refer to Setup Module section
for details on these properties.
SearchResultsURL -
Absolute URL of the page where Search Results Module exists.
GoogleImageURL -
Absolute URL of the Google Image
ShowImageAsWatermark - True or
False
SafeSearch - True or False
SearchButtonText - Any arbitary text such
as "Search" or "Find"
SearchBoxWidth - Textbox width as valid #. Example
"300" or "250"
FORID - Advanced users only. See documentation for
details.
Use of this module is subject to End User
License Agreement (EULA)