Archived

This topic is now archived and is closed to further replies.

  • 0

Best way to set up a form include to use throughout PageLines install


Question

Posted · Report post

Hi, 

 

I'm using PageLines 2.4 to develop a site located presently at: http://s4977.sites.pressdns.com/ 

 

I'm working with my developer to integrate a web form that uses a php include and jQuery validate. 

 

What I'm trying to do:

 

- I want to be able to use the form throughout the site on different pages, on a sidebar, landing pages, and occasionally on a blog post.

- I want to use a template bases approach vs. manually adding the custom form code each time

- Since the form uses php (and other code) it can't be simply cut/pasted in an html area and work

 

I've tested adding the form to the home page of the site above using a PageLines content section. That gets the job done but it seems like it could be setup with a template or include to be added quickly elsewhere. Perhaps a custom PageLines section?

 

My last point is the crux of my question. What's the best way to integrate this form with PageLines? My developer is familiar with WordPress but not PageLines.

 

I would appreciate any ideas or feedback. Thanks very much.

 

~ julian

form.php

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi, I'm not using a plugin because my form is complex.  I tried using GravityForms with an add on plugin for Infusionsoft but the Infusionsoft plugin doesn't work and support nearly non-existent. I need a 100% reliable solution. 

Share this post


Link to post
Share on other sites

Posted · Report post

Well in that case, i suggest creating a shortcode using your function... then you can insert it anywhere.

Share this post


Link to post
Share on other sites

Posted · Report post

Why not use one of the hundreds of form plugins available in the wordpress plugins repo? You could simply have a shortcode then to insert your form anywhere you like.

Share this post


Link to post
Share on other sites