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

More tips on my page

Tags: Advanced Search, Professional Ning Networks

Views: 804

Reply to This

Replies to This Discussion

This is perfect. Thanks SP.

Is this working for you Bernard? ceddy is having difficulty getting it to load so just wondering...

very easy as well to add a Google based search:

<form target="_new" action="http://www.google.com/search" accept-charset="UNKNOWN" method="enctype=&quot;application/x-www-form-urlencoded&quot;">
<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>

I have a two-column layout, could that be the reason why it's not working?

No, shouldn't be. I'm away at present with only iPad but please remind me next week and I'll try to help
Cool Bean! I'm Patient :)

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?

Thats weird it works now and i did nothing different smh!

cool. more importantly, does it actually solve the problem?

Yes that helps with people who are too lazy to explore the site. I appreciate you.
Great! Pleased it is of use

RSS

Latest Activity


NC for Hire
SweetPotato replied to Sylvia Hysen's discussion 'NING 2.0- Sign-up for newsletter'
"Accepted friend request, but please let Patrick have first dibs on the work. He's good. SP"
10 minutes ago

NC for Hire
Jen replied to Alex's discussion 'More styling in the Design Studio'
"For anyone else - after updates if your mobile menu isn't working, sign out and back in."
18 minutes ago
Cindy replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"This is where the link takes me http://httptheforestofhealingningcom.ning.com Looks cheep, like…"
27 minutes ago
Sylvia Hysen replied to Sylvia Hysen's discussion 'NING 2.0- Sign-up for newsletter'
"I do all my own graphic design work, and would want to do so for this widget too. I've been…"
31 minutes ago

NC for Hire
Jen replied to Alex's discussion 'More styling in the Design Studio'
"Nice update. Problem: Seems to me that the mobile menu icon isn't working properly on android…"
37 minutes ago

NC for Hire
SweetPotato replied to Alex's discussion 'More styling in the Design Studio'
"Good job."
50 minutes ago
Alex replied to Alex's discussion 'More styling in the Design Studio'
"Themes that currently have rounded corners do so by way of CSS. We'll need to update them to…"
50 minutes ago

NC for Hire
SweetPotato replied to Sylvia Hysen's discussion 'NING 2.0- Sign-up for newsletter'
"This can be done using the formstack sign up form and some custom design. I haven't…"
56 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service