Results 1 to 10 of 14

Threaded View

  1. #3
    Join Date
    Apr 2009
    Location
    Sydney, Australia
    Posts
    22
    Plugin Contributions
    0

    Default Re: Adding a simple membership form to an EZ Page

    thanx for your reply it has been very helpful.

    the new 'membership page' appears where it should. i've copied includes/modules/pages/contact_us/

    to same but folder renamed /membership/

    modified the header_php.php file so where ever contact_us replaced with membership.

    next copied includes/templates/template_default/templates/tpl_contact_us_default.php (called it tpl_membership_default.php)

    i also copied the following files and amended contact_us references to membership.
    includes/languages/enlish/contact_us.php (membership.php)
    includes/languages/english/html_includes/define_contact_us.php (membership.php)
    includes/languages/english/html_includes/classic/define_contact_us.php (membership.php)

    i added membership to these files.
    admin/includes/language.english.php
    admin/includes/languages/english/define_pages_editor.php

    this is my problem after all this.
    by changing this line of code in file tpl_membership_default.php
    ie. where FILENAME_CONTACT_US used to be and change it to FILENAME_MEMBERSHIP causes the file not to be found get error 404 after i send the form

    <?php echo zen_draw_form('membership', zen_href_link(FILENAME_MEMBERSHIP, 'action=send')); ?> (line 17)

    it appears that it cannot find the FILENAME MEMBERSHIP and i can't work out why.

    by changing that one line and make it go back to CONTACT_US. the form works fine. it appears to be a different form because the headings have all been changed but i don't think it is. i changed the form slightly on the new tpl membership.php but its the send command that seems to send it from the original contact_us form page.

    also noticed that membership page hasn't added onto my site list? does this imply that there is a page missing somewhere or that i need to adjust my site list page manually?

    is there any advice for me on this?
    Last edited by stella01; 5 Apr 2009 at 01:33 AM.

 

 

Similar Threads

  1. Membership Form w/ Payment?
    By TECnews in forum General Questions
    Replies: 1
    Last Post: 7 Jan 2012, 08:21 PM
  2. Adding Membership Area to Site
    By doll5272 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Mar 2010, 06:00 PM
  3. 1x Membership Fee (one-time membership mod problem)
    By numan in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 13 Jul 2007, 07:49 PM
  4. Putting Membership Form in Zen Cart
    By cshart in forum General Questions
    Replies: 5
    Last Post: 11 Sep 2006, 07:16 AM

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