Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31
  1. #1
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default need help with override system, please

    Hi all,

    well I guess my question is a bit too late, but I didnt know exactly what override system is for.
    Reading about it I feel I messed something up.

    I had a person working on a design for my site and I got everything fine.

    After finishing the design I started to make some changes of course...
    I found two folders in includes/templates which are CLASSIC and TEMPLATE_DEFAULT.

    I made changes in CLASSIC and all other folders like languages etc...

    I am not sure whether I understood right, but was I supposed to create another template folder called like MY_TEMPLATE and make all the changes there without touching the CLASSIC one?

    If so....well I havent done this and I hope that I didnt messed too much and that there is still a way to get this fixed before the next version of Zencart comes out...

    CAn anyone please help me on that or advice what to do?

    Thank you very much.

    Best regards,
    Kruna

  2. #2
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: need help with override system, please

    The tutorials/FAQ section can be your best friend! There you can find specfic answers to specific questions that explain things in a much more concise way then I could.

    Here are two very informative FAQ's that speak directly to your situation:
    https://www.zen-cart.com/tutorials/index.php?article=36

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

    Good luck!!

    Tim

  3. #3
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: need help with override system, please

    Thank you very much for answering and help.

    I was afraid that I did it wrong.
    I read the tutorials/FAQ but I am not sure whether I understood everything 100%, so I wouldnt like to mess up something.

    I would need help on that like chatting with somebody who knows about it and then going through this step by step.

    Anyway I will go through the tutorials/FAQ and try it, maybe I am just complicating too much and in fact it is easier than I think....

    Best regards,
    Kruna

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: need help with override system, please

    To create a very basic custom template (you can build from there), you need:
    includes/languages/YOUR_TEMPLATE/english.php
    includes/languages/english/YOUR_TEMPLATE/index.php
    includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    includes/templates/YOUR_TEMPLATE/template_info.php
    includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    includes/templates/YOUR_TEMPLATE/images/logo.gif
    includes/templates/YOUR_TEMPLATE/css/stylesheet.css

    Any where you see a /classic/ folder, you can create a folder for your custom template. Copy the files you need from /classic/, /template_default/ or the parent directory.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying info (you'll understand when you open the file).

    Always use a text editor like Notepad or Crimson Editor to edit php files.

    Once you've built your template, go into your admin under tools->template selection and select it from the pull down menu.

    If you edit the files in /classic/ or /template_default/, all your changes will be lost with the next upgrade/update.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: need help with override system, please

    Hi,

    Thank you very much for your replies.

    In deed it is not that difficult as I thought...

    I almost did it, somehow MY_TEMPLATE isnt complete, but I gues this is due to problems when transfering the files to the server, I had some connection problems.
    I will try it again today and see if I have better luck...

    Best regards,
    Kruna

  6. #6
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: need help with override system, please

    Whenever possible I try to recommend only open source web tools. However, in regards to your comment about getting a clean transfer of files, I must recommend the FTP that I use: FlashFXP.

    I went through quite a few FTP programs and was always sorely disappointed before stumbling upon FlashFXP. You can try it free for a month or two and then it was a very inexpensive one-time cost. I can't say enough about how consistently able it is to do the job quickly, cleanly and efficiently.

    Good luck! Tim

  7. #7
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: need help with override system, please

    Thank you for the tip...

    I am using Filezilla, which is fine I guess, it has been working fine, but recently I have some problem with it. I guess one reason is taht I use Vista and that the are compability problems too.
    Although the website from Filezilla says it works fine with Vista, but I am experiencing something else.
    And as I said before the internet connection sometmes is (/@@@%&)/$%$(&%$)(/@@%$/($(%/$.

    Ok basically I have it done now , BUT the sideboxes are missing...did I missed something??

    THanks for help.

    Bets regards,
    Kruna

  8. #8
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: need help with override system, please

    YES...I missed something....I didnt configure the sideboxes in admin/side boxes controller...
    Now everything works fine...

    Thank you very much for all the good tips...

    Best regards,
    Kruna

  9. #9
    Join Date
    Jan 2007
    Location
    Rotterdam NL
    Posts
    76
    Plugin Contributions
    0

    Default Re: need help with override system, please

    I feel rather stupid:S

    I tried to follow the faq (both articles)
    And i tried it before but I do something wrong every time I try.

    I created this
    /webshop/includes/templates/CUSTOM/templates/

    to override
    tpl_modules_create_account.php

    But I see nothing happen.

    Dod I need to do anything else?
    I tried CUSTOM and custom and searched for a place to enter the folder namen 'custom' in the admin settings

    Help please. I feel so stupid:S

  10. #10
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: need help with override system, please

    You dont have to feel stupid at all, you are not.


    I am sorry...I cant tell you what you did wrong, but I can tell you what I did and this may help you (and hopefully I did it right too )....

    1. I opened with Filezilla
    public_hmtl/my_shop/includes/templates
    There you can see two folders called classic and default_template, right?

    I added/created another folder called my_shop and had three folders at the end: classic, my_shop and template_default

    2. I opened the classic folder, put/dragged ALL its content in a folder xxx on my hard drive (C:).

    3. All the content in folder xxx on my hard drive (C:) I dragged it back to the server but this time into the folder my_shop, it is like copying it.

    Another folder:

    includes/languages

    there you can see the following folders:

    classic, english ( and other language(s) in my case I also have a spanish folder) and above these folders you can see php files like
    english.php etc.

    Again I added/created another folder called my_shop and had it included, followed point 3. again etc...

    I did this with every folder where I found the folder classic, (there are not that much, e.g., please take a look at
    http://www.zen-cart.com/forum/showth...verride+system
    This thread also helped me a bit to understand what this override is all about, especially comments from swguy and Dr. Byte on first side.)

    At the end I dragged the template_info.php to my hard drive, opened it with an editor, in the line where it says

    $template_name = 'Classic Contemporary Green'
    I changed to
    $template_name = 'my_shop'

    saved it, dragged back to folder

    public_hmtl/my_shop/includes/templates/my_shop

    and DONE!!!!

    The when you enter your admin store you go to tools/template selection

    There you can chose YOUR my_shop template.....hopefully...!!

    and I hope I didnt explain too complicated , if so, please feel free to ask...

    Regards,
    Kruna

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Need detailed help with comparing and merging override files with winmerg
    By AirsoftOutfitter in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 31 Aug 2010, 07:52 AM
  2. Help with Override System Please.........
    By bobb2 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Apr 2009, 02:07 PM
  3. Help! need help understanding override system
    By JenBaby in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 12 Dec 2006, 04:06 PM
  4. please help me better understand the template override system I've been making tons o
    By recordshow in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Nov 2006, 01:04 PM
  5. Please help me understand the override system.
    By angelicdezigns in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Jul 2006, 06: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