Module Display Order Matches Sort Order in Admin PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: download,7009
  • Last update:
  • Platform: Windows / Linux / BSD
  • Language: PHP
  • Price:GPL
  • Company: Matt Friedman (View more)

Module Display Order Matches Sort Order in Admin script description:




Publisher review:
Module Display Order Matches Sort Order in Admin - Do you hate the way in the Admin section, under Modules, all your order modules and shipping modules have a Sort Order assigned to them but don't actually DISPLAY in that sort order? It's kind of confusing, and since in the case of the Order Total modules it actually determines the order in which order prices are calculated, this can be a pain in the neck. So I made a small tweak and now all modules in the Admin>Modules section actually DISPLAY in order so it's easier to size them up at a glance.This contribution makes only a rather minor change to the admin/modules.php file, which will make it list your Order Total, Shipping, and Payment Modules in the sort order you gave them in the first place. (They normally display alphabetically, which is dumb.) This remedies that. It's purely a cosmetic improvement, and makes the list display much more sensible, as it should have been in the first place. It doesn't affect store functionality in any manner, but should make administrators' jobs a teeny bit easier.For the sake of convenience, it also puts "not active" text on any module which is in the list but not installed yet, and which therefore HAS no sort order assigned.Note: Once again, this doesn't change the way the store functions, it ONLY makes the modules display in order in the admin section. Purely a convenience.HOW IT WORKS: The modules.php file just reads all the module files in your modules directory in alphabetical order and outputs the HTML for each one right there and then. I just created an array to hold the HTML for each module the script finds, and then it sorts that array, and THEN outputs the HTML in proper order.BACK UP YOUR MODULES.PHP FILE BEFORE INSTALLING. If it doesn't work, just restore the original file.DIFFICULTY: Novice. Extremely easy! Follow the instructions closely--select a single block of text in your existing modules.php and past new text to replace it.
Module Display Order Matches Sort Order in Admin is a PHP script for osCommerce Addons scripts design by Matt Friedman. It runs on following operating system: Windows / Linux / BSD.

Operating system:
Windows / Linux / BSD

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5