Results 1 to 10 of 821

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,692
    Plugin Contributions
    11

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by brittainmark View Post
    Changed MODULE_PAYMENT_SQUARE_TEXT_CATALOG_TITLE to "credit/debit card" so I have put it in the template folder rather than overwrite the original I put it in the template folder. I thought that was what it was for.
    The confusion is that this is not a "template" file. Or, a file that needs to be in an override folder.
    I change \includes\languages\english\modules\payment\square.php to change the text i wanted to display MODULE_PAYMENT_SQUARE_TEXT_CATALOG_TITLE
    There's no override for the includes/languages/english/modules folder that I know of. There is the possible override for the payment folder but, I doubt if any of the Square mod's files would gain any benefit from an override. Probably more bad than good would come from doing an override.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,692
    Plugin Contributions
    11

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    The proper place for your file would be /includes/languages/english/modules/payment/responsive_sheffield_blue/square.php.

    Not sure that the change is needed though as most folks think of the two as synonymous.

    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    For payment modules I never bother with using language-file-overrides subdirectories, because the changes I'm making there are never template-specific. They are usually simple edits that are easy to merge back in when doing an upgrade.
    That said, you're free to use the override directory as long as you remember to re-merge all the changes into your override every time you upgrade the payment module.
    .

    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.

  4. #4
    Join Date
    Apr 2009
    Posts
    487
    Plugin Contributions
    2

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Yes I use the override system. I just forgot to change my file in responsive Sheffield blue. Sorry not trying to cause issue. I do this for all mods so I can see what has changed in the original. I was just a bit rushed and forgot to check my changes.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

 

 

Similar Threads

  1. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 109
    Last Post: 1 Dec 2024, 01:36 PM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. v154 Support Thread: AddToAny for Zen Cart (The Universal Sharing Platform)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 8 Apr 2019, 02:39 PM
  4. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 0
    Last Post: 21 Nov 2006, 06:43 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