Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2005
    Location
    Calera, OK
    Posts
    76
    Plugin Contributions
    1

    Default Override of includes/modules/pages

    In the catalog, no good way to override catalog/includes/modules/pages/somescreen/header.php using the override system, right? I don't see any override for that. So, I'd need to blast the real version.

    True?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Override of includes/modules/pages

    Steve,

    You are correct about no header.php override - however - it depends on what you are doing whether you actually need to change it or if you can add additional main_template_vars or use another system.

    What are you wanting to do?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Apr 2005
    Location
    Calera, OK
    Posts
    76
    Plugin Contributions
    1

    Default Re: Override of includes/modules/pages

    I am adding more edit checks to check new variables passed from the checkout_payment screen. Just like how it redirects you back to the payment screen if you do not check the terms box, same idea for a bunch of new fields I needed to add.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Override of includes/modules/pages

    Quote Originally Posted by sfatula View Post
    I am adding more edit checks to check new variables passed from the checkout_payment screen. Just like how it redirects you back to the payment screen if you do not check the terms box, same idea for a bunch of new fields I needed to add.
    The existing header_php.php file is the right place to do that.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2005
    Location
    Calera, OK
    Posts
    76
    Plugin Contributions
    1

    Default Re: Override of includes/modules/pages

    Yes, it did appear this way.

    So, here's hoping the override system is expanded to include the pages directory!

  6. #6
    Join Date
    Mar 2010
    Location
    Kansas City
    Posts
    3
    Plugin Contributions
    0

    Default Re: Override of includes/modules/pages

    an override for this would be amazing, i'm making custom images for the entire zen cart template and those damn pages are making it difficult. i sure could use an override for those pages

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Override of includes/modules/pages

    Quote Originally Posted by kcprogger View Post
    an override for this would be amazing, i'm making custom images for the entire zen cart template and those damn pages are making it difficult. i sure could use an override for those pages
    Um ... custom images have nothing to do with the /includes/modules/pages folder.
    Templates and their corresponding images go in your template-override folder.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Override of includes/modules/pages

    If you are wanting specific background images for specific pages, you can use Smart Backgrounds and not have to edit any of the page files.

  9. #9
    Join Date
    Mar 2010
    Location
    Kansas City
    Posts
    3
    Plugin Contributions
    0

    Default Re: Override of includes/modules/pages

    I'm customizing all the button images in zen cart. I'm adding mouseover, mouseout, and mousedown effects, i'm doing alright except for the update quantities image after you've added the product to your cart. That image is a son of a gun, any ideas?

  10. #10
    Join Date
    Mar 2010
    Location
    Kansas City
    Posts
    3
    Plugin Contributions
    0

    Default Re: Override of includes/modules/pages

    there's no way to send parameters with the update qty button except for in the header_php.php file in the modules/pages/shopping_cart directory

    so if i could override that it would be fine, but i cant so now i have to go and edit that file which may mess up my updates???

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Override System in re includes/modules/pages/xxxxxx
    By KenBaker in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Oct 2013, 02:09 AM
  2. how to override includes > modules > pages > page_folder > header_php.php
    By monkeytown in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Feb 2008, 05:45 PM
  3. Override for includes/modules/pages?
    By dbrewster in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Jan 2007, 04:51 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