Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: This overide system is overcomplicated. Nothing works

    Well it would be nice if someone pointed out that when you create your own template all the boxes/banners/search/cart modules that are on the left and right of the page get disabled by default..

    At least mine did.. all this time Ive wasted to find out that the page was blank because all the modules were turned off..

  2. #2
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: This overide system is overcomplicated. Nothing works

    Quote Originally Posted by Syntax2 View Post
    Well it would be nice if someone pointed out
    You didn't actually ask a question...you came on here with a first post that's bit of a rant, and from your comments, I'm guessing that you leapt straight in. You certainly haven't read the tutorials/FAQ section as if you had, you'd have found the one labelled How do I create a new Custom Template? which tells you EXACTLY what you need to do to create your own custom template folders.

    ZenCart is downloaded hundreds of times a day; there a thousands upon thousands of ZC stores around the web. Almost any question you can think of will have been asked - and answered - somewhere within these forums...so search, then ask if you still can't find what you're looking for.

    You'll find this an amazingly helpful community - but don't just moan.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  3. #3
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: This overide system is overcomplicated. Nothing works

    The override system does seem to be one of the most misunderstood features of Zencart. And one of the biggest topics on the forum. I have wondered why the folder system for overrides is not simply built into the release, as empty folders, under the name CUSTOM. A short text file in each folder could explain what you could put in there.
    Failing that, it would be great if someone came out with a contribution that created all the folders for a custom template for you, in the proper structure, that you could upload to your site, with a text or html file explaining what to do.
    I may be naive in the world of coding, but this seems to me to be one of those things that could be easily rectified by one of the two approaches.
    Give us your best shot!
    http://www.photoimprints.com

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: This overide system is overcomplicated. Nothing works

    I have wondered why the folder system for overrides is not simply built into the release, as empty folders, under the name CUSTOM. A short text file in each folder could explain what you could put in there.
    Hi Style,
    while this sounds like a good idea, it would then have the same issue as using the classic folder.
    it would be over written the next time you upgraded.

    the other sounds feasible and I might just do that later this afternoon.
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: This overide system is overcomplicated. Nothing works

    Here go,
    its quick and its easy but its the entire template file structure
    with a read me for each folder explaining what needs to go where

    Custom template base file structure
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: This overide system is overcomplicated. Nothing works

    Quote Originally Posted by Merlinpa1969 View Post
    Here go,
    its quick and its easy but its the entire template file structure
    with a read me for each folder explaining what needs to go where

    Custom template base file structure
    Wow that's fast service! Looks great. I hope it saves YOU folks some time in answering questions, so you can keep working on the magic for us.
    Give us your best shot!
    http://www.photoimprints.com

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: This overide system is overcomplicated. Nothing works

    Quote Originally Posted by Merlinpa1969 View Post
    Here go,
    its quick and its easy but its the entire template file structure
    with a read me for each folder explaining what needs to go where

    Custom template base file structure
    Merlin,

    You might want to point out in your Overview and How To that although the folders are named "custom" they can be renamed to anything the user wants.

    If you don't mind, I think I'll reference the download in a couple of tutorial/FAQ articles as well as in the wiki.

  8. #8
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: This overide system is overcomplicated. Nothing works

    Quote Originally Posted by clydejones View Post
    You might want to point out in your Overview and How To that although the folders are named "custom" they can be renamed to anything the user wants.
    And you must spell it out that they must all be the same!

    Because if you don't , someone will come along and say "Well it would be nice if someone pointed out that when you..."

    (Oh, and could we have a set called YOUR_TEMPLATE please)
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  9. #9
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: This overide system is overcomplicated. Nothing works

    The instruction "wherever you see a classic folder, you can place your own custom one alongside it" doesn't really leave much room to screw up!
    Last edited by Ryk; 3 Nov 2006 at 03:02 PM. Reason: PS - But obviously people do make room!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

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

    Default Re: This overide system is overcomplicated. Nothing works

    I am sorry that you had difficulty in reading all of the FAQs and Wiki for getting started in addition to trouble using the search ...

    The templates and overrides directories are all marked, as indicated before, by the /classic directory to help as a guide to lead you to where and what can be overridden ...

    The template structure itself is based on /includes/templates/template_default

    But you will note that the only things in the /includes/templates/classic are the bare essentials ...

    You never copy a file to a templates and overrides directory unless you are actually making changes ...

    Languages follow the same pattern in the /includes/languages

    At various levels you will again see the /classic directory ... this means that is where overrides for that given directory would belong ...

    The same holds true on the code side of the directory structure such as:
    /includes/modules with overrides indicated to go to the /includes/modules/your_template_dir because again you will see the /classic directory ...

    There are no overrides for functions and classes, but you will see the /includes/functions/extra_functions directory ... this is a location of where you can add your own functions and they will autoload for you as if part of /includes/functions files ...

    Again, not as overrides but as additional or extra functions that you may need ...

    Similarly you will see in the /includes directory
    /includes/extra_configures
    /includes/extra_datafiles

    These are made for adding on to things like new database define and new filename defines without having to touch the original files ...

    You can use 1 or many files in the /extra_something directories so that add-ons, your own code, etc. is more easily managed ...

    I do hope you will take advantage of the forum, FAQs and Wiki to help make your Zen Cart experience more meaningful ...
    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. Override system
    By Resqjock in forum General Questions
    Replies: 5
    Last Post: 1 Sep 2008, 04:28 AM
  2. Override directory, it seems is not being looked at...
    By rginn in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 26 Nov 2007, 02:57 AM
  3. NOTHING can be as complicated as Shipping seems
    By natchezjohn in forum General Questions
    Replies: 9
    Last Post: 26 Aug 2007, 06:27 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