Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,607
    Plugin Contributions
    30

    Default How to override/modify an encapsulated Plugin

    For example:

    CSS

    Code running in an observer/notifier.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,637
    Plugin Contributions
    88

    Default Re: How to override/modify an encapsulated Plugin

    I'm not understanding the question, could you provide a few more specifics?

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,607
    Plugin Contributions
    30

    Default Re: How to override/modify an encapsulated Plugin

    Answering my own question

    CSS: can be overriden by css in the active template folder

    language constants: overrides by the corresponding lang. file in the active template-language folder

    observer methods in the Plugin: they are capturing and modifying variables from core file notifiers. Is there any way to replace that method with a custom one, or override it?
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,637
    Plugin Contributions
    88

    Default Re: How to override/modify an encapsulated Plugin

    Note that template-overrides for a zc_plugin's storefront language /extra_definitions require this Zen Cart PR which will be part of v2.1.0: https://github.com/zencart/zencart/pull/6493

 

 

Similar Threads

  1. Encapsulated Plugins - Payment modules
    By niccol in forum Code Collaboration
    Replies: 2
    Last Post: 2 Feb 2022, 09:47 PM
  2. v157 Encapsulated Plugins
    By niccol in forum Bug Reports
    Replies: 6
    Last Post: 22 Jul 2021, 05:53 PM
  3. v157 encapsulated plugins require question....
    By carlwhat in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 13 Oct 2020, 12:22 AM
  4. Language override for Ultimate SEO plugin?
    By amanamission in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 27 Jul 2008, 04:23 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR