Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,707
    Plugin Contributions
    123

    Default Plugin Maintainers - Upcoming changes in Zen Cart 1.5.8b

    The files

    admin/includes/menu.css
    admin/includes/menu.js
    admin/includes/stylesheet.css

    will no longer be part of Zen Cart after 1.5.8b is released. Please see

    https://docs.zen-cart.com/dev/plugin..._head_content/

    for details.

    Please remove them from your contributions (as described on the FAQ page above) for Zen Cart 1.5.7 and above, or modify them as shown in post #4 below if you wish your plugin to work in old and new versions of Zen Cart.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Plugin Maintainers - Upcoming changes in Zen Cart 1.5.8b

    Quote Originally Posted by swguy View Post
    The files

    admin/includes/menu.css
    admin/includes/menu.js
    admin/includes/stylesheet.css

    will no longer be part of Zen Cart after 1.5.8b is released. Please see

    https://docs.zen-cart.com/dev/plugin..._head_content/

    for details.

    Please remove them from your contributions (as described on the FAQ page above) for Zen Cart 1.5.7 and above.
    Note that "removal" doesn't mean overwritten to not contain functional information, but just not present which has the potential of resulting in multiple issues even within a given site ruining running 1.5.8b depending how it came to exist. Issues may also depend on the version of the plugin in parallel relationship.

    Be prepared.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,505
    Plugin Contributions
    88

    Default Re: Plugin Maintainers - Upcoming changes in Zen Cart 1.5.8b

    Quote Originally Posted by mc12345678 View Post
    Note that "removal" doesn't mean overwritten to not contain functional information, but just not present which has the potential of resulting in multiple issues even within a given site ruining running 1.5.8b depending how it came to exist. Issues may also depend on the version of the plugin in parallel relationship.

    Be prepared.
    Agreed, for any of my plugins that also support ZC versions prior to zc157 I'm checking the Zen Cart version and using the "old style" if that condition is found else using admin_html_head.php.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,707
    Plugin Contributions
    123

    Default Re: Plugin Maintainers - Upcoming changes in Zen Cart 1.5.8b

    @lat9 If you could post the block of code you're using as an example for other store maintainers and plugin authors, it would be great!
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,505
    Plugin Contributions
    88

    Default Re: Plugin Maintainers - Upcoming changes in Zen Cart 1.5.8b

    Quote Originally Posted by swguy View Post
    @lat9 If you could post the block of code you're using as an example for other store maintainers and plugin authors, it would be great!
    OK, here's one:
    PHP Code:
    // -----
    // The initial version of GPSF-2 supports zc156, zc157 and zc158.  zc158b will be removing
    // the 'legacy' stylesheets and javascript provided in previous versions.  As such, determine
    // the Zen Cart base version in use to maintain the downwardly-compatible use of this module.
    //
    $gspf_zc_version = PROJECT_VERSION_MAJOR . '.' . PROJECT_VERSION_MINOR;
    $admin_html_head_supported = ($gspf_zc_version >= '1.5.7');
    $body_onload = ($admin_html_head_supported === true) ? '' : ' onload="init();"';
    ?>
    <!doctype html>
    <html <?php echo HTML_PARAMS?>>
    <head>
    <meta charset="<?php echo CHARSET?>">
    <title><?php echo TITLE?></title>
    <?php
    if ($admin_html_head_supported === true) {
        require 
    DIR_WS_INCLUDES 'admin_html_head.php';
    } else {
    ?>
    <link rel="stylesheet" href="includes/stylesheet.css">
    <link rel="stylesheet" href="includes/cssjsmenuhover.css" media="all" id="hoverJS">
    <script src="includes/menu.js"></script>
    <script src="includes/general.js"></script>
    <script>
    function init()
    {
        cssjsmenu('navbar');
        if (document.getElementById) {
            var kill = document.getElementById('hoverJS');
            kill.disabled = true;
        }
    }
    </script>
    <?php
    }
    ?>
    </head>
    <body<?php echo $body_onload?>>
        <?php require DIR_WS_INCLUDES 'header.php'?>
    <?php

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,707
    Plugin Contributions
    123

    Default Re: Plugin Maintainers - Upcoming changes in Zen Cart 1.5.8b

    Closing this thread because we're renumbering the release. Will start a new one shortly.

    SEE https://www.zen-cart.com/showthread.php?229611 for updated information on v2.0.0
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v157 eBay Integration for Zen Cart Plugin
    By jadebox in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 9 Mar 2024, 03:29 PM
  2. v157 Plugin Manager (in Zen Cart 1.5.7+)
    By swguy in forum Contribution-Writing Guidelines
    Replies: 28
    Last Post: 6 Sep 2021, 09:55 PM
  3. Contributions that would allow changes to Upcoming Products?
    By KismetDesign in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Apr 2013, 05:12 PM
  4. Stylesheet Changes for Zen Cart 1.3.6
    By kuroi in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Oct 2006, 05:39 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