Results 1 to 2 of 2
  1. #1

    Default how to clone "Contact Us" page and rename?

    I'd like to create a new page, linked from the Information Sidebox that is a clone of the Contact Us page (with the e-mail form and everything), to be re-named "Wholesale Inquiries". The functionality of the form can be exactly the same - I'd just need to change the text and the title of the page. How would I go about doing this?

    If this question has been answered elsewhere, please do direct me to the proper thread. I know it can't be that difficult. Am just praying that I won't need to touch the database!

    thanks so much!!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how to clone "Contact Us" page and rename?

    Cloning is following a pattern ...

    If the contact_us uses in its pattern:
    contact_us

    You would want to copy all related files and clone it by using the new name:
    wholesale_inquires

    Doing a search in the Developer's Tool Kit on the word:
    contact_us

    Would show you all of the files referencing this ...

    So now you can start building your pattern of filenames, variables, constants etc. ... of the realted code for a new page ...

    For adding new filenames, rather than add to the original file you can make your own file and add it to the:
    /includes/extra_datafiles

    in a file something like:
    wholesale_inquires.php

    This will load at the same point as the filenames.php and database_tables.php so you have this in the right spot for the code ...

    Adding the define for the filename in there will allow it to work properly just like you see the contact_us in the filenames.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. How can I rename "Page 2" (and have it display properly in the site map)?
    By Donny Bahama in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Dec 2011, 07:42 PM
  2. How to remove "contact us", "My account" , and "view cart"?
    By thestampnomad in forum Basic Configuration
    Replies: 2
    Last Post: 13 Aug 2010, 07:55 PM
  3. How do i rename "page 2,3, and 4"?
    By sistersecrets in forum General Questions
    Replies: 17
    Last Post: 7 Mar 2009, 02:43 AM
  4. how to move "contact us", "about us" etc to the bottom of page?
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jul 2007, 07:20 AM
  5. Rename "more information" and "page 2"
    By barco57 in forum Basic Configuration
    Replies: 55
    Last Post: 8 Jan 2007, 07:43 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