Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    29
    Plugin Contributions
    0

    Default Re: Do tutorials still apply to v1.3.9h?

    Ah - making the folders writable... I didn't see this instruction anywhere on the tutorials.

    Selecting the admin custom template? Are you referring to the admin panel or to some file under admin(newname) directory? I haven't selected any "custom template" - just uploading my Custom files to the server. I'm assuming anywhere there is a "Classic" folder then a Custom folder can be added. Do you know if these basic custom pages need to be started fresh or compared with the new original files using WinMerge etc.

    Can I get just a bit more help on this please.

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

    Default Re: Do tutorials still apply to v1.3.9h?

    You have to go to Admin - Tools - Template Selection and select your custom template to activate it, then to Layout Boxes Controller and click on 'Reset'.

  3. #3
    Join Date
    Oct 2010
    Posts
    29
    Plugin Contributions
    0

    Default Re: Do tutorials still apply to v1.3.9h?

    But I NEED TO KNOW what to select under this place in Admin. All that is there is Classic. I am not utilizing some preformated, downloaded template to call my custom, but instead just editing and creating overrides for the layout and design using the Custom folders which I uploaded to my site directory. (ie logo, welcome message, etc) So far they are not working.

    You are telling me to select my custom template in the admin panel, but I do not know you mean. Didn't have to do this for 1.3.8a and the tutorials do not mention that I have to make some change to this admin panel in order to make my overrides work. IS there a specific file (within some location of the directory?... some template index?? or something) that I am to call my template for this purpose.

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

    Default Re: Do tutorials still apply to v1.3.9h?

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

    Zencart looks in every includes/templates/whatever folder for a file called template_info.php. If it finds one, it adds that template to the dropdown in Admin - Template - Selection.

    When you create a custom template (let's say the name is 'custom'), you need to create a file called template_info.php that looks like this (copy it from includes/templates/classic and edit it):

    <?php
    /**
    * Template Information File
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 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 4226 2006-08-24 02:23:25Z drbyte $
    */
    $template_name = 'custom';
    $template_version = 'Version 1.0;
    $template_author = 'you';
    $template_description = 'This template set is designed to be easily modified using only the style sheet to change colors, fonts, and the store logo. Three images are required; logo.jpg, header_bg.jpg, and tile_back.gif.';
    $template_screenshot = 'scr_template_default.jpg';
    ?>

    and place it in includes/templates/custom

    Then go to Admin - Tools - Template Selection, and it will be there in the dropdown.

    And yes, the procedure was exactly the same for 1.3.8.

  5. #5
    Join Date
    Oct 2010
    Posts
    29
    Plugin Contributions
    0

    Default Re: Do tutorials still apply to v1.3.9h?

    PS - I just found that you need to upload
    includes/templates/CUSTOM/template_info.php, for something new to pop into the admin panel "template" drop down options. (This I also did not see anywhere in the tutorials....which are way outdated in many cases). I didn't edit this file, just got it into my CUSTOM folder by uploading it. Now my overrides are at least working.

 

 

Similar Threads

  1. v139h International shipping is STILL not working.. Upgrade new module and still nothing..
    By chameleonclogs in forum Addon Shipping Modules
    Replies: 9
    Last Post: 1 Mar 2013, 12:17 AM
  2. Replies: 2
    Last Post: 14 Aug 2010, 07:51 AM
  3. Customer didn't apply coupon - can I apply it manually?
    By ArtsygalDotNet in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 7 Nov 2007, 09:49 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