Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2007
    Posts
    50
    Plugin Contributions
    0

    email error adding new pages

    Is it possible to add 2 new pages to zen-cart with the following functions.

    Page 1: Registration page linked to a new database to record details of artists and other information.

    Page 2: record details provided by artists with ability to add an attachment and then email this to specified email address

    TIA

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: adding new pages

    Page 1: Registration page linked to a new database to record details of artists and other information.
    Yes, but you will have to provide the code and the db structure for this
    Page 2: record details provided by artists with ability to add an attachment and then email this to specified email address
    Again as above...

    I do not think that you can use the page1 & page2 that are native to Zen Cart though as these are defines pages that can only contain html and not any php that you will need for the DB update entries
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2007
    Posts
    50
    Plugin Contributions
    0

    red flag Re: adding new pages

    To create Pag 1 would it be possible to copy admin/customer.php and modify it to have the required details, i.e. changing customer_name to artist_name etc then linking that to a new mysql database called artists.

  4. #4
    Join Date
    Feb 2007
    Posts
    50
    Plugin Contributions
    0

    red flag Re: adding new pages

    To create Page 2 I would like it to pull some of the currrent details from the artists database, then have a sectiont that can be filled in independant of any database and ability to attache a photo and then email this page. It does not have to save the info to any database.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: adding new pages

    To create Pag 1 would it be possible to copy admin/customer.php
    Unfortunately it is not as simple as that and the admin files are not specifically what are used for the frontend...

    Have a look at these for starters:
    /includes/modules/create_account.php
    /includes/templates/template_default/templates/tpl_create_account_default.php
    /includes/templates/template_default/templates/tpl_modules_create_account.php

    These each have pieces for the DB or the customer page interface
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: adding new pages

    To create Page 2 I would like it to pull some of the currrent details from the artists database, then have a sectiont that can be filled in independant of any database and ability to attache a photo and then email this page.
    This is more on the order of a form that the user fills out:

    ee includes/modules/pages and select one with a form and view the js etc
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Adding new pages
    By dhblewis in forum General Questions
    Replies: 1
    Last Post: 12 Jun 2010, 05:37 PM
  2. Adding new pages to the Define Pages area
    By endl in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Jun 2008, 11:14 PM
  3. Adding new pages to the Define Pages area
    By endl in forum General Questions
    Replies: 2
    Last Post: 6 Jun 2008, 06:58 AM
  4. Adding New Pages....
    By Access in forum General Questions
    Replies: 4
    Last Post: 19 Jun 2006, 01:08 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR