Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,829
    Plugin Contributions
    31

    Default Search Configuration Keys - Admin mod

    Support thread and notification for this helper mod.

    Description:
    "This mod adds a new page named "Search Configuration Keys" in the Admin->Tools-> section.
    The new page lists all the configuration keys and provides a search facility of the configuration table's title and description fields to find that option "you know you have seen somewhere".

    Improved version available here:
    http://www.zen-cart.com/index.php?ma...oducts_id=1639

    The original code can be found here:
    zencarttips.co.uk/quick-tip-2-find-admin-options-quickly-in-zen-cart
    named as reference_cfg_key.

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Search Configuration Keys - Admin mod

    Thanks for a very useful mod torvista. Should save all of us heaps of time

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

    Default Re: Search Configuration Keys - Admin mod

    I'll just take the credit for a bit of a clean-up, as with all things all upload I just tinker a bit.
    Maybe someone could expand this mod to index all the configuration keys...

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,514
    Plugin Contributions
    126

    Default Re: Search Configuration Keys - Admin mod

    This mod was really very clever and has saved me time. Thank you!
    That Software Guy. My Store: Zen Cart Support
    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
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Search Configuration Keys - Admin mod

    Minor bug in two of my 1.3.9d installs:

    After installation of this mod you may notice that, when calling

    Admin > Modules > Payment
    Admin > Modules > Shipping
    Admin > Modules > Order Totals

    the heading of each of these pages has changed to 'Search Configuration Keys' (without the quotes) instead of 'Payment Modules' , 'Shipping Modules' etc

    Solution:
    =========

    in admin/search_cfg_keys.php change line 4 from this

    define('HEADING_TITLE','Search Configuration Keys');
    to this

    define('HEADING_TITLE_SEARCH_CFG_KEYS','Search Configuration Keys');
    and in admin/includes/languages/english/search_cfg_keys.php change line 79 from this

    <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
    to this

    <td class="pageHeading"><?php echo HEADING_TITLE_SEARCH_CFG_KEYS; ?></td>

    Just wondering if anyone else has experienced this behavior?

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,829
    Plugin Contributions
    31

    Default Re: Search Configuration Keys - Admin mod

    just got back from hols and am knee-deep in business-computer hell, I have no access to test site to look at this for a while.

  7. #7
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,829
    Plugin Contributions
    31

    Default Re: Search Configuration Keys - Admin mod

    The language files were located in
    admin\includes\languages\-----\extra_definitions

    which loads the contants globally.
    Either the constants used in the language files should be given a unique name as per the post above, or the files should be moved up a level - I have done this and submitted a v1.2 to the download section.

    regards
    Steve

  8. #8
    Join Date
    Apr 2010
    Posts
    133
    Plugin Contributions
    0

    Default box_tools_search_cfg_keys

    Ive noticed a bug I think when hoovering over the Tools drop down menu. The menu displays: BOX_TOOLS_SEARCH_CFG_KEYS at the bottom. Once I select it, it changes to: Search Configuration Keys. When you come back out of the page the menu reverts back to: BOX_TOOLS_SEARCH_CFG_KEYS again. I am running v1.3.9f

  9. #9
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,829
    Plugin Contributions
    31

    Default Re: Search Configuration Keys - Admin mod

    Yes you are right, the 1.2 download has a file missing.

    Make a file here with this name

    YOUR_ADMIN _NAME\includes\extra_datafiles\search_cfg_keys.php

    and put this in it
    PHP Code:
    define('FILENAME_SEARCH_CFG_KEYS''search_cfg_keys');
    define('BOX_TOOLS_SEARCH_CFG_KEYS''Search Configuration keys'); 
    v1.3 will have this in it.

  10. #10
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,829
    Plugin Contributions
    31

    Default Re: Search Configuration Keys - Admin mod

    the file referred to above should of course have php tags too, so should be
    <?php
    define('FILENAME_SEARCH_CFG_KEYS', 'search_cfg_keys');
    define('BOX_TOOLS_SEARCH_CFG_KEYS', 'Search Configuration keys');
    ?>

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Troubles setting up Zen4WP: "No configuration keys were found"
    By ShoeSolutions in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 7 Apr 2016, 05:43 AM
  2. search admin page keys addon problem
    By michelleodin in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 13 Jan 2014, 03:06 PM
  3. image size configuration in admin/configuration
    By george_usa in forum Customization from the Admin
    Replies: 7
    Last Post: 17 Nov 2010, 09:51 AM
  4. Search Admin Mod
    By limelites in forum General Questions
    Replies: 2
    Last Post: 21 May 2009, 01:04 PM
  5. Any one know anything about AJAX Search API Keys?
    By DravenLS in forum General Questions
    Replies: 0
    Last Post: 12 Feb 2008, 10:21 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