Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Jul 2010
    Location
    UK
    Posts
    29
    Plugin Contributions
    0

    Default No custom folder need to add One ?

    Hi all, i am new to zencart and looking for some advice

    I have inherited the zencart website its updated to 1.3.9dand it has the classic green template... minor changes, eg header image , royalmail shipping modules, new button set, uk counties, this is what i am aware of or the changes i can visibly see,

    here is were the fun starts cause there is no custom folder, so could some tell me what custom folders and files i need to install so i wont lose the changes if i need to upgrade in the future
    ( yes i have used the search function and read the tutorial on creating custom folders) but i dont understand what files i need to put in them.

    any help in resolving this matter would be great as i dont want to start again from scratch

    regards
    dave

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

    Default Re: No custom folder need to add One ?

    I'm assuming this is the tutorial you read.

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

    If you've done that (created some custom template folders and selected that template in admin) you'll need to copy any edited files into the proper custom folder.

    You're in something of a jam, since you don't know what files the previous owner edited, but generally I would copy all the files in the 'classic' folders to their 'custom' counterparts.

  3. #3
    Join Date
    Jul 2010
    Location
    UK
    Posts
    29
    Plugin Contributions
    0

    Default Re: No custom folder need to add One ?

    @stevesh
    thanks for the reply,
    yes thats the guide i followed , i also installed the folder structure that is mapped out here http://www.zen-cart.com/index.php?ma...roducts_id=298

    like you say i don't know what files have been altered so which files do i put in my custom folders ?

    do i need to move every single file that is in the classic folders into the custom folders ? inc images ?

    sorry if i sound thick but i have never experienced an over ride system before

    regards
    dave

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

    Default Re: No custom folder need to add One ?

    Since you don't know what the previous administration changed, but the site works the way you want it to, I would find all the 'classic' folders and move all the files in each to the corresponding 'custom' folder. Two minutes using your FTP program.

  5. #5
    Join Date
    Jun 2008
    Location
    uk
    Posts
    71
    Plugin Contributions
    0

    Default Re: No custom folder need to add One ?

    hi, thanks again for your speedy reply , just to make things clear in includes/llanguage/english i have folders and files like so

    /custom (my new folder i made)
    ->/extra_definitions (folder)
    ->/html_includes (folder)
    ->images (folder)
    ->/moduals (folder)
    account.php ( file)
    account_edit.php (file)
    account_history.php ( file)
    etc (file)
    etc (file)
    etc (file)

    do i copy all the folders and files and drop them direct into my custom folder

    so it would show all the folders and files inside my custom folder

    regards
    dave

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

    Default Re: No custom folder need to add One ?

    I can't think of a circumstance where you would have folders in an override folder, so, no.

    For example, you will have a includes/languages/custom folder, and an includes/languages/english/custom folder.

    But you would have an includes/languages/english/html_includes/custom folder, not includes/languages/english/custom/html_includes

    You really can't go wrong by creating a 'custom' folder everywhere you find a 'classic' folder and at the same level.

  7. #7
    Join Date
    Jul 2010
    Location
    UK
    Posts
    29
    Plugin Contributions
    0

    Default Re: No custom folder need to add One ?

    Hi Mate,
    i not quite getting this for example i have a folder
    includes/templates/classic

    inside the classic folder is another 2 folders css/images

    now in the css folder is
    css_read_me.txt
    print_stylesheet..css
    stylesheet.css
    stylesheet_css_buttons.css

    now in the image folder is
    header_bg.jpg
    tile_back.gif

    do i just take all the files from the css and image folder and put them inside the custom folder and not in folder like this

    includes/templates/custom/css/images folders

    so i would have a folder structure showing

    includes/templates/custom and inside the custom folder the following files

    css_read_me.txt
    print_stylesheet..css
    stylesheet.css
    stylesheet_css_buttons.css
    header_bg.jpg
    tile_back.gif

    is this correct ?

    regards
    dave

  8. #8
    Join Date
    Jul 2010
    Location
    UK
    Posts
    29
    Plugin Contributions
    0

    Default Re: No custom folder need to add One ?

    also the template is using custom buttons they are located in
    includes/template/template_default//english

    do i just put all the buttons in the

    includes/template/custom

    regards
    dave

  9. #9
    Join Date
    Oct 2008
    Posts
    254
    Plugin Contributions
    0

    Default Re: No custom folder need to add One ?

    No, stick to the tutorial https://www.zen-cart.com/tutorials/i...hp?article=142 for a custom template.

    Code:
    includes
       /templates
           /CUSTOM
              /common
              /css
                 stylesheet.css
              /images
              /sideboxes
              /templates
           template_info.php
    What custom folders (overrides) are for is to allow you to edit core/main files without them being wiped out in a future upgrade. For example, if you edit includes/languages/english/meta_tags.php these changes would be wiped out from uploading a fresh meta_tags.php in a future full-upgrade. If the coding of these files is changed in an update then it will be easy to compare.

    As stevesh said, just add override folders everywhere you see "classic"

    The *only* exception to this would be includes/templates where it's not really an override folder but rather your actual custom template.
    Last edited by Kenichi; 11 Jul 2010 at 08:08 AM.

  10. #10
    Join Date
    Oct 2008
    Posts
    254
    Plugin Contributions
    0

    Default Re: No custom folder need to add One ?

    Quote Originally Posted by 3601965 View Post
    also the template is using custom buttons they are located in
    includes/template/template_default//english

    do i just put all the buttons in the

    includes/template/custom

    regards
    dave
    If they're in template_default then they will still be read. If you have anything custom-edited (like your buttons) then move it to your custom template folder using same file structure.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 20 Jul 2011, 02:17 PM
  2. I can't find the CUSTOM folder -- includes/languages/english/custom/header.php
    By Yammits in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Jul 2010, 10:26 PM
  3. moving ZC from one folder to another folder
    By hazephase in forum Installing on a Windows Server
    Replies: 5
    Last Post: 1 Jun 2010, 11:40 PM
  4. Do I need custom sub-folder under admin?
    By Jazzyp in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Feb 2009, 10:47 PM
  5. custom Add Customer email (need custom welcome email)
    By rennsix in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 8 Dec 2007, 08:06 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