Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2006
    Posts
    53
    Plugin Contributions
    0

    Default Define_main_page and template override

    I've tried looking, but this question doesn't quite seem to be addressed.

    And then again, maybe it's just me. I'm working on a new site and I still don't understand why the define_main_page content has to be edited in the english directory, and not in my override directory.

    Someone please illuminate me!

    Thanks,

    Ray

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Define_main_page and template override

    The define pages structure works like this:

    The master file for english is:
    /includes/languages/english/html_includes/define_xxxxxxxx.php

    The override files for english are located at:
    /includes/languages/english/html_includes/YOUR_TEMPLATE/define_xxxxxxxx.php
    .
    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. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Define_main_page and template override

    and not in my override directory.
    Addendum: You can have an override dir anywhere there is a "classic" dir and then only for files that are directly under this location

 

 

Similar Threads

  1. deleted everything in define_main_page and link and banner still showing
    By hangman21 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Jul 2010, 12:33 AM
  2. Template override and IRC (Internet Relay Chat)
    By Brian1234 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Jan 2008, 10:39 PM

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