Tagged: search function
-
AuthorPosts
-
February 14, 2018 at 11:04 am #912185
Hi Guys,
I have integrated one of my enfold sites with ChamberMaster: https://www.rsgchamber.com
I am finishing up some edits and widget integration and will need to incorporate the ChamberMaster search. I would like to keep the clean look of the search icon I currently have in the header but make that module function so that it searches both website and chambermaster site as well which is a subdomain: https://business.rsgchamber.com/
Below is the widget code they provided. Is it possible to combine the enfold search and the CM search into one global search in the header? Possibly with a plugin or script?
<div id=”mni-search-1518586367593″></div>
<script type=”text/javascript” src=”https://business.rsgchamber.com/Content/Script/SearchWidget.js”></script>
<script type=”text/javascript”>
/*<![CDATA[*/
new MNI.Widgets.SearchBox(“mni-search-1518586367593”,{“limit”:10,”buttonText”:”Search”,”keywordPlaceholder”:”Enter name, category, or keyword”,”styleTemplate”:”#@id .mn-widget-searchbox-form{margin:0 0 -10px}#@id .mn-widget-searchbox-fieldwrapper{display:inline-block;margin:0 0 10px;margin-right:3px;max-width:100%;position:relative}#@id .mn-widget-searchbox-field{display:block;padding:0 6px}#@id .mn-widget-searchbox-field input{background:#FFF;border:solid 1px #999;border-radius:5px;color:#555555;font-family:Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;font-size:15px;line-height:100%;max-width:100%;padding:5px}#@id .mn-widget-searchbox-field input{margin:0 -6px}#@id .mn-widget-searchbox-keyword{width:338px}#@id .mn-widget-searchbox-searchbtn{background:#485410;border:solid 1px #999;border-radius:5px;color:#FFFFFF;cursor:pointer;font-family:Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;font-size:15px;margin:0 0 10px;min-width:75px;padding:5px 10px}#@id .mn-widget-searchbox-searchbtn:hover{background:#CED56B;color:#FFFFFF}#@id .mn-widget-searchbox-autocomplete{left:0;min-width:100%;position:absolute;top:100%;white-space:nowrap;z-index:1000}#@id .mn-widget-searchbox-autocomplete ul{background:#FFF;border:solid 1px #999;border-radius:5px;list-style:none;margin:0;padding:2px}#@id .mn-widget-searchbox-autocomplete li{margin:0;padding:0}#@id .mn-autocomplete{border-radius:5px;color:#555555;cursor:pointer;display:block;font-family:Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;font-size:15px;line-height:100%;padding:.2em .4em;position:relative;text-decoration:none}#@id .mn-autocomplete:hover{background:#EEE;border:solid 1px #999;margin:-1px}#@id .mn-autocomplete br{display:none}#@id .mn-autocomplete-name{display:block}#@id .mn-autocomplete-type{color:#555555;display:block;font-size:75%;font-style:italic;line-height:125%}”}).create();
/*]]>*/
</script>Many thanks,
MoniqueFebruary 14, 2018 at 8:42 pm #912464Hey Monique,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.