Results 1 to 2 of 2

Thread: php not working in template file

  1. #1
    Join Date
    Feb 2008
    Posts
    27

    Default php not working in template file

    I want to have php includes in my good_template file but these seem to be ignored - is there a way to have fully customized template files please.

  2. #2
    Join Date
    May 2008
    Posts
    1,291

    Default Re: php not working in template file

    Clear the setting in $TEMPLATEDIR and use the $TEMPLATEURL setting in formmail if you want to use php in your template. For example:

    Code:
    $TEMPLATEURL = "http://www.yoursite.com/fmtemplates";
    Make sure to clear the value of $TEMPLATEDIR, otherwise $TEMPLATEURL will be ignored if both are present.

    ginger

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. html template not working
    By johnson5jr in forum Community Support
    Replies: 3
    Last Post: 08-Oct-2012, 02:01 PM
  2. Bad Template and Captcha Not Working
    By Tsiqueira in forum Community Support
    Replies: 4
    Last Post: 06-Jun-2011, 09:39 PM
  3. javascript not working in a template
    By nulldotzero in forum Community Support
    Replies: 2
    Last Post: 19-Nov-2009, 03:51 PM
  4. template not working
    By coldal in forum Community Support
    Replies: 0
    Last Post: 08-Apr-2008, 06:55 PM
  5. template's not working
    By gdnovey in forum Community Support
    Replies: 5
    Last Post: 08-Feb-2007, 02:39 PM

Tags for this Thread

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
  •