cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Form not appearing in search results
June 5, 2007
9:48 am
Richard Huss
Guest

My contact form is working nicely at http://ccgi.thehusses.plus.com/contact-us/

I have installed the Search Pages 2.0 plugin, but am finding that when this page comes up as the result of a search, e.g. here, the contact form is not appearing, but rather a paragraph containing the field names and drop-down values.

Have I goofed somewhere?

Many thanks,

Richard 

Environment:

June 5, 2007
6:24 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Thanks for the detailed environment info Richard!

I think it has to do with how Search Pages 2.0 processes the searched for & found data. It seems as if this plugin reads the post's content and strips out the html. If this is the case and Search Pages 2.0 is not configurable to display the full information than there is little you (or I) can do about that.

June 5, 2007
10:02 pm
Richard Huss
Guest

Hi,

I've tried disabling the Search Pages plugin and putting the contact form in a post rather than a page, with the same results. It appears from the code that all Search Pages does is intercept the normal Wordpress search functionality and alter the WHERE clause so pages are included as well – no munging of the HTML over whatever is built into Wordpress.

Cry

Best wishes,

Richard 

June 5, 2007
10:35 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

The same behaviour can be in fact be seen with your other posts as well, they all loose the HTML when displayed as a search result (or simply when being displayed as an archive snapshot:  category and time based, just click on a month to test).

So it's not the search plugin, but it may be related to the way the WP theme handles it.

June 6, 2007
11:02 am
Richard Huss
Guest

Aha! It turns out the theme was using the_excerpt() rather than the_content() in search results and archive pages. Duly tweaked, and all working.

Very sorry for bothering you. Quite new to this Wordpress thing.

Best wishes,

Richard 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3740

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5340

Posts: 18707

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)