Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Dec 2003
    Posts
    145
    Plugin Contributions
    0

    Default Re: developers tool kit - custom template

    I'm looking for a variable, but it shouldn't matter. Why would "All Files: Catalog" = only 6 files?

  2. #12
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: developers tool kit - custom template

    Which of the input boxes are you using and what are you selecting from the dropdown?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #13
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: developers tool kit - custom template

    Version 1.3.6

    searched for "tpl" in look-up in all files All Files: Catalog.

    results: 1018 files searched, 650 matches found.

  4. #14
    Join Date
    Dec 2003
    Posts
    145
    Plugin Contributions
    0

    Default Re: developers tool kit - custom template

    I'm using the very last search field & button at the bottom of the page.

    I also tried searching for just 'tpl' and got only 1 hit out of still only 6 pages searched.

    Thanks for your help. I hope it's just something on my end. (No admin mods except GoogleSiteMap, but many of my own tweaks on the catalog side, staying within the override structure as much as possible.)

  5. #15
    Join Date
    Dec 2003
    Posts
    145
    Plugin Contributions
    0

    Default Re: developers tool kit - custom template

    Well, since no one is offering any ideas, I'm left to my own devices. I've solved the problem by commenting out lines 418 & 420 of admin/developers_tool_kit.php because DIR_WS_ADMIN has nothing to do with all catalog.
    PHP Code:
    case (2): // all catalog
      
    $zv_check_root true;
      
    $filename_listing '';

      
    $check_directory = array();

      
    $sub_dir_files = array();
      
    getDirList(DIR_FS_CATALOG DIR_WS_INCLUDES);
      
    $sub_dir_files_catalog $sub_dir_files;

      
    $check_dir array_merge($sub_dir_files_catalog);
      for (
    $i 0$n sizeof($check_dir); $i $n$i++) {
        
    $zv_add_dirstr_replace('//''/'$check_dir[$i] . '/');
        
    //if (strstr($zv_add_dir, DIR_WS_ADMIN) == '') {
          
    $check_directory[] = $zv_add_dir;
        
    //}
      
    }
      break; 
    If the devs care to explain lines 418 & 420, I'm all ears.

  6. #16
    Join Date
    Dec 2003
    Posts
    145
    Plugin Contributions
    0

    Default Re: developers tool kit - custom template

    OK, more testing and a better solution. Switching the strstr to strpos in line 418 works, and it's probably a hair faster.
    PHP Code:
    if (!strpos($zv_add_dirDIR_WS_ADMIN)) { 
    Last edited by texdc; 4 Dec 2006 at 05:38 AM.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Developers Tool Kit Problem
    By kashyyyk in forum General Questions
    Replies: 5
    Last Post: 28 Jun 2015, 06:40 AM
  2. Developers tool kit
    By eden in forum General Questions
    Replies: 1
    Last Post: 25 Nov 2008, 11:01 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