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

Andre Lacerda replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"Lets hope they are reading. Anyways I will open a ticket and see what they say."
33 minutes ago
Kos replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"I interpreted that incorrectly.  You're right; many others have pointed out the wrapping…"
35 minutes ago

NC for Hire
SweetPotato replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"This has to be a bug, i think Ning will fix this. I'd flagged it previously, as has Jen, so…"
43 minutes ago
Kos replied to Kos's discussion '3.0 My Thoughts From A Non-Coder (edited 5/21/13)' in the group The Sandbox
"Edited to add: the "x" to delete a category in forums is unseen.  It's still…"
1 hour ago
Profile IconNing via Facebook
Thumbnail

Community Spotlight: Meet Daniel Kerr, COO of AdjusterPro and founder of Well-Adjusted, a…

See More
Facebook1 hour ago · Reply
Kos replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"I share your concern.  I know that other layouts are coming with less white space, which I…"
1 hour ago

NC for Hire
SweetPotato replied to Radialistas Brasileiros's discussion 'How we will deal with 301 redirects and to fix 404 errors on NING 3.0?'
"Hi Phil If i'm changing a client's domain name how would I deal with 301 redirects on…"
1 hour ago
Andre Lacerda replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
2 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service