Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Idea or Suggestion Template override folder within folders question

    Hi

    I have seen and read template overrides and generally it is easy and works. One thing is confusing and have not been addressed is folder within using 'CUSTOM' folders.

    For example, I want all my shipping and payments to be in custom and in CUSTOM folders.

    Is it ??
    \includes\modules\CUSTOM\payment(or shipping) \mypayment.php

    or

    \includes\modules\payment(or shipping)\CUSTOM\mypayment.php

    or it can only be
    \includes\modules\payment(or shipping)\mypayment.php

    Also

    \includes\modules\payment\pages\mypayment.php what should it be for CUSTOM?

    Thanks
    Downunder QLD

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Template override folder within folders question

    Quote Originally Posted by oavs View Post
    Hi

    I have seen and read template overrides and generally it is easy and works. One thing is confusing and have not been addressed is folder within using 'CUSTOM' folders.

    For example, I want all my shipping and payments to be in custom and in CUSTOM folders.

    Is it ??
    \includes\modules\CUSTOM\payment(or shipping) \mypayment.php

    or

    \includes\modules\payment(or shipping)\CUSTOM\mypayment.php

    or it can only be
    \includes\modules\payment(or shipping)\mypayment.php

    Also

    \includes\modules\payment\pages\mypayment.php what should it be for CUSTOM?

    Thanks

    Sadly, neither will work.

    From the Wiki at https://www.zen-cart.com/wiki/index....dule_overrides

    Module overrides

    You can override files in the folder includes/modules/.


    Note:
    The override system does not yet extend to files in the subfolders order_total, pages, payment, or shipping.



  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Template override folder within folders question

    You can also refer to the Zen Cart Overrides Cheatsheet for the locations of the currently-available override folders.

 

 

Similar Threads

  1. v153 Single sideboxes in override folders
    By delia in forum General Questions
    Replies: 17
    Last Post: 9 Aug 2014, 03:00 PM
  2. Can I set up multiple folders within /media/ folder?
    By redheadskater in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Nov 2009, 05:57 PM
  3. quick question. Can ALL files use template override?
    By budfox in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Apr 2007, 07:57 AM
  4. Custom Override Folders
    By beth99 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Nov 2006, 03:12 PM
  5. Location of override folders
    By Sermonzone in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 14 May 2006, 02:17 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