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: 803

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

Jordon McGee (Jords) replied to soaringeagle's discussion '3.0 feature request'
"+1"
11 minutes ago

NC for Hire
JFarrow replied to JFarrow's discussion 'Become a Youtube Master with These 4 Tricks'
"apparently ning strips that.."
22 minutes ago
Chris replied to soaringeagle's discussion '3.0 feature request'
"This is a standard feature of most forums, and very important! Hopefully it will be implemented."
54 minutes ago
Ambroise replied to JFarrow's discussion 'Become a Youtube Master with These 4 Tricks'
"I see nothing between line "compared to this:" and lien "When the user hits the play…"
1 hour ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Allison would you please make sure that Phoron's new link gets picked up "
1 hour ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Phoron's new live link  http://lifesmagickalweave.ning.com"
1 hour ago
Kos replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"I was able to do it but you're right; I wish they allowed for more characters in the Tab Name.…"
2 hours ago
CPA replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"Thanks Sho, I'm going to try this!"
3 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service