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

Riccardo Rossini replied to Riccardo Rossini's discussion 'problem in redirecting NING 3.0'
4 hours ago
Mandy P. replied to Mandy P.'s discussion 'Remove unwanted space-Header'
"thanks a bunch..that helps!"
5 hours ago
Aaron replied to Aaron's discussion 'Ning Spring Cleaning Begins This Week'
"Hi everyone, Just a quick note to let you know that this spam cleanup is complete. That said, you…"
6 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Check it out. I hovered both images, made 2 screen shots (just to capture the hover tip) and placed…"
7 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"I'm thinking it has something to do with caching. I just inspected the header, and I see 2…"
7 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Fire-Tech, You guys have given me major relief, just to know it's not something unique on my…"
7 hours ago
Fire-Tech replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Same thing here. All of the same issues...in FF and Chrome, but not as bad in Chrome."
8 hours ago
Kos replied to Kos's discussion '3.0 My Thoughts From A Non-Coder (edited 5/20/13)' in the group The Sandbox
"Edited to add a menu layer suggestion [used the Galaxy SIII]"
8 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service