Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    41
    Plugin Contributions
    0

    Default Question about "define_main_page.php"

    Hi all,

    I am new to Zen Cart, please excuse me if the following question is too simple... ;-)

    I edit the "define_main_page.php" as in the following:
    includes/languages/english/html_includes/define_main_page.php

    I thought the main page will be updated accordingly, however, nothing new could be seen after I modified the file.

    Because I use a template, does this take the control of the main page by its /templates/tpl_index_default.php?

    Please kindly advise what I've missed out, thank you.

    Best regards,
    lioncity

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

    Default Re: Question about "define_main_page.php"

    You should copy all files from:
    includes/languages/english/html_includes

    to your templates and overrides directory:
    includes/languages/english/html_includes/your_template_dir

    Then set them to 777 if you want to edit them from your Zen Cart Admin ...

    NOTE: if you have already done that do not do it again, as you will overwrite your changes ...

    When editing them in the Tools ... Define Page Editor ... you should see something similar to:
    Editing file:
    /home/your_user_name/public_html/your_directory_name/includes/languages/english/html_includes/your_template_dir/define_main_page.php

    If should not you see:
    /home/your_user_name/public_html/your_directory_name/includes/languages/english/html_includes/classic/define_main_page.php

    if you do, then you have not made templates and overrides but are using the default template ...
    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!]
    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. v150 I have a question about this "payment fee" on my invoices!!
    By Darion in forum General Questions
    Replies: 2
    Last Post: 29 Sep 2012, 11:26 PM
  2. Can't edit "define_main_page.php"
    By AvenueBeads in forum General Questions
    Replies: 3
    Last Post: 3 Aug 2009, 04:27 PM
  3. quick "How Did You Hear About Us" question
    By AdamN in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 28 Jul 2008, 07:11 PM
  4. For images, does "base" = "small"? And a question about alternates.
    By molywerks in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Feb 2008, 02:49 PM
  5. Question about "sales message goes here" plus
    By techwizard in forum Installing on a Windows Server
    Replies: 2
    Last Post: 25 Nov 2006, 12:30 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