+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 29 of 29

Thread: Wordpress and good_template bad_template

  1. #21
    Join Date
    Dec 2003
    Posts
    3,978

    Default Re: Wordpress and good_template bad_template

    Hi,

    Quote Originally Posted by azmogul2010 View Post
    Were you able to edit the problems with the bad template "oops"
    I was waiting to hear back from you regarding access. When I tried to login yesterday, the password didn't work.

    Quote Originally Posted by azmogul2010 View Post
    For some reason, nothing is working now. I send form and it always goes to error even though filled out correctly.
    What's been changed? Do you have other people able to make changes that might have broken something?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  2. #22
    Join Date
    Sep 2010
    Posts
    18

    Default Re: Wordpress and good_template bad_template

    Sorry, I just did find the culprit for things not working. Apparently Wordpress manglees HTML to suit itself and it somehow line returned some of the code in the contact form causing it not to work. I had to replace it and everyting is now working fine. The only question I have remaining is that the bad form (oops) you said the return and the error messages incorrect. I wasn't sure how to fix that. I will change the password back on the Wordpress for you to take a look.

  3. #23
    Join Date
    Dec 2003
    Posts
    3,978

    Default Re: Wordpress and good_template bad_template

    Hi,

    OK, I've fixed the return link.

    However, the error messages are not appearing because the template tags FMBadHandler uses are not recognized by WordPress and it silently strips them out!

    To fix this, we'll need an alternative way of putting in the template tags.

    I'll get back to you regarding this.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  4. #24
    Join Date
    Sep 2010
    Posts
    18

    Default Re: Wordpress and good_template bad_template

    Wow, I have some real second thoughts about Wordpress. I have a very large static site currently and I thought the CMS idea sounded great. But, it has been one challenge after another with the "code mangling" in WP. I feel like I am on the frontier of space or something. Thanks so much for all your help.

  5. #25
    Join Date
    Sep 2010
    Posts
    18

    Default Re: Wordpress and good_template bad_template

    There are plugins available which prevent Wordpress from stripping and allow the direct interpretation of code within wordpress like for .css or java script. Could something like this help?

  6. #26
    Join Date
    Dec 2003
    Posts
    3,978

    Default Re: Wordpress and good_template bad_template

    Hi,

    The easiest way is to have an alternative tag format supported by FMBadhandler.

    We've now implemented this.

    So, where you would enter:
    HTML Code:
    <fmerror />
    you can now enter:
    HTML Code:
    [fmerror /]
    and WP won't strip it.

    I'll need to install this new version via your control panel.

    Please let me know when I can access it again.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #27
    Join Date
    Sep 2010
    Posts
    18

    Default Re: Wordpress and good_template bad_template

    resent login ifo to secure area

  8. #28
    Join Date
    Dec 2003
    Posts
    3,978

    Default Re: Wordpress and good_template bad_template

    Hi,

    OK, all done and tested.

    The ".html" names stopped working - did you remove the plugin?

    Anyway, I've reset it back to the non-".html" names.

    Here are the changes:
    1. You now have FMBadHandler version 1.22, which allows for a different tag format.
    2. Your form now specifies a nice message for the missing fields (you can see this in the "required" hidden field).
    3. Your "oops" page uses the new tag format.
    4. I've formatted the error sections in the "oops" page to handle user-level error and system-level errors. You can test the user-level errors easily - just leave out some required fields. You can test the system-level errors by changing the "recipients" to an invalid address (e.g. add XX to your domain name in there and that will generate a system level error).
    Please check it all out and let me know how it goes.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  9. #29
    Join Date
    Sep 2010
    Posts
    18

    Default Re: Wordpress and good_template bad_template

    you rock!!! It is beautiful! Just one glitch which happens.

    If you enter data incorrectly on the contact form and hit enter, it goes to the form bad screen "oops" as it should and displays the correct error. If you then hit the return you created, it goes back to the contact form and correctly preserves the data the user entered. When the data is then corrected and you hit enter, it then goes correctly to the good form as it should. But, when you then use the browser to arrow back to the previous page you get the error:

    insession specified, but no data found in session and a blank screen. The URL appearing is http://www.azrealestatenow.com/fmbad...rni2gvre7k3of2

    Any ideas?
    Last edited by azmogul2010; 01-Oct-2010 at 12:42 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Can I use PHP includes in bad_template?
    By artlab in forum Community Support
    Replies: 1
    Last Post: 02-May-2006, 11:40 PM
  2. Using CSV and good_template?
    By Brighthouse in forum FormMail Subscription Support
    Replies: 2
    Last Post: 18-Aug-2005, 09:22 PM
  3. good_template
    By vivaxone in forum FormMail Subscription Support
    Replies: 1
    Last Post: 06-May-2005, 09:15 PM
  4. good_template issue, please advise...
    By nhouse in forum FormMail Subscription Support
    Replies: 4
    Last Post: 08-Mar-2005, 09:56 PM
  5. Fields in good_template
    By NOgbourne in forum FormMail Subscription Support
    Replies: 4
    Last Post: 31-Oct-2004, 09:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts