Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-12 18:52:38

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Zem_Contact_Reborn with AJAX integration

I had posted before about looking for this kind of integration, and now I’ve completed it with some help.
Check out the full article and tutorial


Offline

#2 2007-08-13 01:12:11

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: Zem_Contact_Reborn with AJAX integration

Stupid question, but I’m curious:

Upload the ever resilient and equally small and simple Jquery for your JavaScript library. I’ve uploaded mine into my main directory thus mydomain.com/js/jquery.js.

Any special reason? 4.05 brought us jquery bundled with textpattern.

Offline

#3 2007-08-13 02:18:57

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Zem_Contact_Reborn with AJAX integration

aba,
  1. some people might not upgrade to 4.05 for various reasons
  2. This was actually written pre 4.05. Perhaps I should ammend the article to note that 4.05 includes it.
  3. One thing to note would be that Jquery is improving more rapidly than releases of TXP therefore it might be in ones best interest to keep a separate folder for their front and back ends?

Offline

#4 2007-08-13 07:27:28

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,731
Website

Re: Zem_Contact_Reborn with AJAX integration

Hi matthew,

exactly what “speed and a little Shazam” did you add to the form (i.e. what kind of feedback can one add)? Can we test it somewhere without you getting unwanted mails?

BTW: the new site looks great!


TXP Builders – finely-crafted code, design and txp

Offline

#5 2007-08-13 08:26:26

gerhard01
Plugin Author
Registered: 2006-12-07
Posts: 108

Re: Zem_Contact_Reborn with AJAX integration

ma_smith wrote:

[…]

  1. One thing to note would be that Jquery is improving more rapidly than releases of TXP therefore it might be in ones best interest to keep a separate folder for their front and back ends?

A nice I idea I found on wet’s pages to stay up to date with jQuery. Put this in your header section:

<script src="http://code.jquery.com/jquery-latest.pack.js" type="text/javascript" ></script>

Offline

#6 2007-08-13 09:54:02

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: Zem_Contact_Reborn with AJAX integration

gerhard01 wrote:

A nice I idea I found on wet’s pages to stay up to date with jQuery. Put this in your header section:

<script src="http://code.jquery.com/jquery-latest.pack.js" type="text/javascript" ></script>

Ouch – Is there any statement from the jquery crew whether this is encouraged? If everybody does it their server might be very busy. The jquery wiki states this as download link not giving any indication that it should be used in your page.

Later: After actually reading the jquery hosting information linked from wet’s page I have to change my mind. It not a problem (unless S3 goes down or jquery changes something vital). I wonder whether the plugins are availabe from code.jquery.com as well?
gerhard01: Thanks for this tip.

ma_smith: wrote:

[…]

points taken. Replacing the jquery bundled with textpattern works as well, at least up to now. Not upgrading seems to be not the brightest idea given its fix for a XSS problem, but even I can see that a heavy modified textpattern might not easily upgradeable .

Thanks for clearing that up.

Last edited by aba (2007-08-13 09:58:02)

Offline

#7 2007-08-13 12:28:36

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Zem_Contact_Reborn with AJAX integration

Feel free to submit any forms on my site for testing. I prefer that you make a clear note of it one way or the other. I don’t know how much speed is saved. It was originally done so that I could have a form inside a lightbox or accordion div and the form would submit without refreshing the page.

M

ps. thanks for the encouragement about the site


Offline

Board footer

Powered by FluxBB