Page 4 of 26 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 259
  1. #31
    Join Date
    Jan 2004
    Posts
    65,318
    Blog Entries
    7
    Plugin Contributions
    228

    Default

    Originally posted by waynerd@Jul 14 2004, 05:52 AM
    I've tested the forms and don't get any messages saying either that the message was sent or that the message failed, i've tried both.
    Something's not right in your files.
    I've tested it fine on a base v1.1.4 install here, and it works great.

    Perhaps re-grabbing the "header_php.php" and making sure you have it complete would be a starting point.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #32
    Join Date
    Jan 2004
    Posts
    65,318
    Blog Entries
    7
    Plugin Contributions
    228

    Default

    I did make one small edit to the header_php.php and tpl_band_signup_default.php files as posted ... just to change how the checkbox for terms and conditions was handled... there was a bug. To fix it on the second form you made, change the 'value="checked"' on your template to 'value="1"' instead.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #33
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    Originally posted by DrByte@Jul 14 2004, 07:08 PM
    You've changed the heading title somewhere you shouldn't have.

    Search your languages/english.php for "Band Sign-Up" and see where you have it.

    The only place you should have it is in something like this: define('BOX_INFORMATION_BAND_SIGNUP','Band Sign-Up');
    Hey guys, so the only place in the english.php is shown like this, with the second additional form page listed below it. The odd thing is this says the same as the sidebox link but the header is showing as simply "band Sign-up

    define('BOX_INFORMATION_BAND_SIGNUP', 'Band Sign-Up Form');
    define('BOX_INFORMATION_ENDORSEMENTS', 'Band Endorsments Form');

  4. #34
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    Originally posted by DrByte@Jul 14 2004, 07:13 PM
    I did make one small edit to the header_php.php and tpl_band_signup_default.php files as posted ... just to change how the checkbox for terms and conditions was handled... there was a bug. To fix it on the second form you made, change the 'value="checked"' on your template to 'value="1"' instead.
    I've re-copied and uploaded both these files and all the others you posted, I'm still not having any luck with either of these two issues. ::frust

  5. #35
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    This is my modules/sideboxes/information.php this is the only file that looks a little odd to me but is the way you told me to set it up, is this right?

    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                    |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers              |
    // |                                   |
    // | http://www.zen-cart.com/index.php                  |
    // |                                   |
    // | Portions Copyright (c) 2003 osCommerce                |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,    |
    // | that is bundled with this package in the file LICENSE, and is    |
    // | available through the world-wide-web at the following url:      |
    // | http://www.zen-cart.com/license/2_0.txt.               |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to    |
    // | license AT zen-cart DOT com so we can mail you a copy immediately.     |
    // +----------------------------------------------------------------------+
    // $Id: information.php,v 1.2 2004/01/13 15:28:17 wilt Exp $
    //
    
     $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_BAND_SIGNUP) . '">' . 'Band Signup Form' . '</a>';
    
     // only show GV FAQ when installed
     if (MODULE_ORDER_TOTAL_GV_STATUS=='true') {
      $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
     }
    
     require($template->get_template_dir('tpl_information.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_information.php');
    
     $title = BOX_HEADING_INFORMATION;
     $left_corner = false;
     $right_corner = false;
     $right_arrow = false;
     $title_link = false;
    
     require($template->get_template_dir('tpl_box_default.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_box_default.php');
    ?>

  6. #36
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    I found a misnamed file that fixed the Band Sign-up header from displaying on all the extra pages, but now I get HEADING_TITLE as a header on the two new ones?

    Where do I check for this one?

  7. #37
    Join Date
    Jan 2004
    Posts
    65,318
    Blog Entries
    7
    Plugin Contributions
    228

    Default

    The /includes/languages/english/YOURTEMPLATENAME/band_signup.php either doesn't exist or isn't being found. (HEADING_TITLE is defined there, as you'll see in the post of that file's contents earlier).

    You could try just placing that file in /includes/languages/english instead.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #38
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    This is the file both in my "custom" template directory and the main english directory.

    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                   |
    // +----------------------------------------------------------------------+
    // | Copyright  2003 The zen-cart developers             |
    // |                                   |
    // | http://www.zen-cart.com/index.php                  |
    // |                                   |
    // | Portions Copyright  2003 osCommerce               |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,   |
    // | that is bundled with this package in the file LICENSE, and is    |
    // | available through the world-wide-web at the following url:     |
    // | http://www.zen-cart.com/license/2_0.txt.              |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to   |
    // | license AT zen-cart DOT com so we can mail you a copy immediately.     |
    // +----------------------------------------------------------------------+
    // $Id: band_signup.php,v 1.0 2004/07/14 00:00:00 DrByteZen Exp $
    //
    
    define('HEADING_TITLE', 'Band Sign-Up');
    define('NAVBAR_TITLE', 'Band Sign-Up');
    define('TEXT_SUCCESS', 'Your message has been successfully sent.');
    define('EMAIL_SUBJECT', 'Sign-up from Bionic Banana!');
    
    define('ENTRY_NAME', 'Full Name:');
    define('ENTRY_EMAIL', 'E-Mail Address:');
    define('ENTRY_ENQUIRY', 'Message:');
    
    define('SEND_TO_ADDRESS','info@bionicbanana.com');
    define('SIGN_US_UP','SIGN US UP!');
    ?>
    still getting the same thing

  9. #39
    Join Date
    Jun 2003
    Posts
    33,797
    Plugin Contributions
    0

    Default

    Uh...Waynerd... is this what you have in the template?

    Code:
    $title = BOX_HEADING_INFORMATION;

    and this is your define?

    Code:
    define('HEADING_TITLE', 'Band Sign-Up');
    See the problem?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  10. #40
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    Okay yes,
    In my "information.php" the code is this:
    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                    |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers              |
    // |                                   |
    // | http://www.zen-cart.com/index.php                  |
    // |                                   |
    // | Portions Copyright (c) 2003 osCommerce                |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,    |
    // | that is bundled with this package in the file LICENSE, and is    |
    // | available through the world-wide-web at the following url:      |
    // | http://www.zen-cart.com/license/2_0.txt.               |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to    |
    // | license AT zen-cart DOT com so we can mail you a copy immediately.     |
    // +----------------------------------------------------------------------+
    // $Id: information.php,v 1.2 2004/01/13 15:28:17 wilt Exp $
    //
    
     $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_BAND_SIGNUP) . '">' . 'Band Signup Form' . '</a>';
     $information[] = '<a href="' . zen_href_link(FILENAME_ENDORSEMENTS) . '">' . 'Band Endorsement Form' . '</a>';
    
     // only show GV FAQ when installed
     if (MODULE_ORDER_TOTAL_GV_STATUS=='true') {
      $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
     }
    
     require($template->get_template_dir('tpl_information.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_information.php');
    
     $title = BOX_HEADING_INFORMATION;
     $left_corner = false;
     $right_corner = false;
     $right_arrow = false;
     $title_link = false;
    
     require($template->get_template_dir('tpl_box_default.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_box_default.php');
    ?>
    I've tried to change the two variable to BOX_INFORMATION_BAND_Signup to match all the others but that did not work either.

    Call me dumb (i'm getting used to it) but I can't see what I'm doing wrong.

 

 
Page 4 of 26 FirstFirst ... 2345614 ... LastLast

Similar Threads

  1. custom survey forms
    By cpk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 May 2011, 05:07 PM
  2. Custom Forms
    By wwiii in forum General Questions
    Replies: 3
    Last Post: 11 May 2009, 05:51 PM
  3. Customer's seeing other users' data in forms
    By erikcw in forum General Questions
    Replies: 5
    Last Post: 30 Jan 2008, 11:30 PM
  4. Custom Collection of Attribute Data
    By Fastcar in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2008, 01:01 PM
  5. Custom Forms - Help?
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 9 Jun 2006, 02:46 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR