Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default HELP in changing main store page file....

    Ver. 1.3.8a - OK, I have gotten partial changes accomplished modifying the php files in the "/includes/languages/english" directory. Do I then delete those files and put the modified files in the "/includes/languages/custom" folder that I create as a sub dir under languages? Do I leave both sets of files there?

    Thanks for anyone who can shed light on this.

    Cheers,
    Gabriel

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: HELP in changing main store page file....

    You leave both files there. If you have a custom file, zencart will the customised file. Otherwise it will read the information from the default file. If you want to reverse the changes you can delete your custom files and everthing is back to the default installation.

  3. #3
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: HELP in changing main store page file....

    Still having problems. I have followed all advice found throughout the FAQ and related posts in these boards. Would it help to post the code from the modified files and/or my directory schema?

    Thanks,
    Gabriel

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: HELP in changing main store page file....

    A link to your site would be more useful. Have you selected your CUSTOM template in admin?

  5. #5
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: HELP in changing main store page file....

    Quote Originally Posted by stevesh View Post
    A link to your site would be more useful. Have you selected your CUSTOM template in admin?
    The store site is: www.brighidsopenhearth.com/store

    I click on TOOLS/Templates to change to the CUStOM template setting but none shows up. I have not made any other templates, only modified individual php files in the ENGLISH directory and saved the modified files into a CUSTOM folder at the same level. Some changes seem to work, others do not.

    Thanks,
    Gabriel

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: HELP in changing main store page file....

    The way the override system works, you have to create a custom template, select it in admin, place folders using the name of that template in the proper places, and place your modified files in those folders.

    https://www.zen-cart.com/tutorials/i...hp?article=142


    https://www.zen-cart.com/tutorials/i...hp?article=230

    It's the template_info.php file mentioned in the first tutorial that tells admin you have another template.

  7. #7
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: HELP in changing main store page file....

    OK, added new file structure under INCLUDES/TEMPLATES and copied relevant files into their dirs. I copied and then modified template_info.php as shown below and reuploaded it. I am getting the following error.

    Parse error: syntax error, unexpected T_VARIABLE in /home/content/g/e/l/geltech/html/store/includes/templates/custom/template_info.php on line 1


    Here is the code of the php file:

    <?php/** * Template Information File * * @package templateSystem * @copyright Copyright

    2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce *

    @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id:

    template_info.php 2306 2005-11-05 21:34:28Z wilt $ */$template_name =

    'Custom';$template_version = 'Version 1.0';$template_author = 'GELTECH 2009';

    $template_description = 'Custom template for modified store files for Brighids Open

    Hearth';$template_screenshot = 'scr_template_default.jpg';?>

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: HELP in changing main store page file....

    What program did you use to edit that file?

  9. #9
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: HELP in changing main store page file....

    Notepad

  10. #10
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: HELP in changing main store page file....

    Quote Originally Posted by geltech View Post
    Notepad
    Not recommended. Tends to make a mess of the line endings. A good, free alternative is Notepad++
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing layout on main page help please
    By huntleybill in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Oct 2013, 03:53 AM
  2. Need help changing store name on contact page
    By MULISH in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 May 2009, 12:51 AM
  3. Help main store page messed up
    By splishsplashbb in forum General Questions
    Replies: 2
    Last Post: 8 Jan 2009, 05:50 PM
  4. main page help where to find file to fix mistake
    By tndrmrcies in forum Basic Configuration
    Replies: 1
    Last Post: 22 Jul 2007, 05:08 PM
  5. Help with changing a Color on the main page
    By touchclothing in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Feb 2007, 10:12 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