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

Yeah but it doesn't make the forms inside smaller. 

not that code specifically, but you could make them smaller with some more css if you were so inclined

sp

It works awesome, thanks SP!

Quick question, do u know how to add other fields on the advance search?
I am mainly interested in text boxes (since it is not possible to look into them through the search function on the floating bar). But forum, blog... would be also nice to have =)

Thanks!

This is a member search form so it won't include free text searches in posts or blogs, and as far as I know text box modules on the homepage don't get included in search, although pages do.

So what is the difference with just go to /profiles/members/advancedSearch ?

RSS

Latest Activity

Kos replied to James Nored's discussion 'How do I create a taller header?'
"Pretty certain the answer is in HERE and there are codes and links to other helpful…"
19 minutes ago
Writer Chick {Diane} replied to Writer Chick {Diane}'s discussion 'WRITER CHICK {DIANE LYNNE} ~ 3.0 FEEDBACK' in the group The Sandbox
"Updated 5/19/13 ~ More control over font colors I want this dark color, but as you can see, it…"
19 minutes ago
Bosco Carvalho replied to Bosco Carvalho's discussion 'RSS and boxes not editable any more?'
"I just cann't edit a thing at the front page.The banners boxes for instance should get newer…"
21 minutes ago
AnGella replied to PeruCool's discussion 'Alternatives to Ning social network'
"I just added a script to style profile pages on buddypress! Still writing the CSS. Here is my test…"
22 minutes ago
Kos replied to James Nored's discussion 'How do I create a taller header?'
"I've seen this somewhere.......let me see if I can locate"
25 minutes ago
Kos replied to Fire-Tech's discussion 'Ning 3.0 First Accessment' in the group The Sandbox
"HAHAHA!"
28 minutes ago
Riccardo Rossini replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
"I think so!! :)"
38 minutes ago
Kos replied to SweetPotato's discussion 'Simple, Responsive Slider for Ning 3.0'
"A tower slider - yeah - that's the ticket!  *lol*  Yeah, you almost need 2 diff…"
49 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service