Hi all
I saw Ceddy J's post about iFraming Advanced Search Onto The Homepage, Is There A Way? and thought I'd post one possible solution here.
Create a Text Box on your homepage (middle column best).
In HTML mode of that new Text Box, paste this:
<div class="advsearch"></div>
Now in your Custom Code, paste this:
<script type="text/javascript">
x$(document).ready(function() {
x$('.advsearch').load('/profiles/members/advancedSearch form#advancedMemberSearchForm');
});
</script>
You now have your advanced search form on your homepage. I tested it and it seemed to work OK.
Enjoy
SP

This is perfect. Thanks SP.

Permalink Reply by Paul Corona on June 21, 2012 at 6:21am very easy as well to add a Google based search:
<form target="_new" action="http://www.google.com/search" accept-charset="UNKNOWN" method="enctype="application/x-www-form-urlencoded"">
<table border="0" cellpadding="0">
<tbody>
<tr>
<td><input maxlength="255" name="q" size="30" type="text" /><br />
<input style="width: 210px; height: 24px;" size="16" value="Your Site Search" type="submit" /></td>
</tr>
<tr>
<td style="font-size: 75%;" align="center"><input checked="checked" name="sitesearch" value="your site" type="checkbox" /> only search Your Site.com</td>
</tr>
</tbody>
</table>
</form>
Permalink Reply by Ceddy J on June 22, 2012 at 12:35pm I have a two-column layout, could that be the reason why it's not working?

Permalink Reply by Ceddy J on June 27, 2012 at 11:05pm I figured it out! It worked on Firefox but doesn't work on Chrome for me!

hmm, i just tried it on Chrome but it seems to be OK. Is it live on your site?
Permalink Reply by Ceddy J on June 28, 2012 at 9:35am Thats weird it works now and i did nothing different smh!

cool. more importantly, does it actually solve the problem?
Permalink Reply by Ceddy J on June 28, 2012 at 6:04pm 


Cindy replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
Sylvia Hysen replied to Sylvia Hysen's discussion 'NING 2.0- Sign-up for newsletter'

Alex replied to Alex's discussion 'More styling in the Design Studio'
© 2013 Created by Ning.
