Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Posts
    26
    Plugin Contributions
    0

    Default Adding a custom page & script

    Hi,

    I need to add a custom page that includes some php code. I want this page to display in the main content pane of zencart, with the sideboxes and header/footer still showing. Where should I place this file within the zen cart filesystem and how can I make it so that the rest of the template is displayed?

    Also, if I wanted to add a file that would just be loaded without being integrated into the template (so without the header/footer/sideboxes), what change would I have to make?

    Thanks in advance for any help you may provide!
    Emil F.,
    nCube Solutions
    http://www.ncube.ca

  2. #2
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: Adding a custom page & script

    For the first part of the question -- if you aren't using the define pages, have you tried using one of those? Or duplicating one and doing it like that?

    For the second part, you could use the EZ Pages function. (Be warned -- the thing that trips most people up is they forget to define a sort order, so the page won't display.)

    HTH,
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

 

 

Similar Threads

  1. v155 How to Add Custom Fields for Materials & Dimensions when adding products?
    By wmorris in forum All Other Contributions/Addons
    Replies: 95
    Last Post: 27 Jul 2016, 08:36 AM
  2. v151 Need help adding script to shopping cart page
    By doooomed in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 10 Aug 2013, 12:18 PM
  3. Adding tracking script to main page
    By 3d4me2 in forum Templates, Stylesheets, Page Layout
    Replies: 22
    Last Post: 12 Jun 2011, 01:48 AM
  4. Adding script to header is just login page
    By jeking in forum General Questions
    Replies: 5
    Last Post: 9 Apr 2010, 06:25 AM
  5. Filechucker CGI script - adding to define page
    By Happyworker in forum General Questions
    Replies: 0
    Last Post: 30 Nov 2008, 01:11 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