Results 1 to 10 of 16

Hybrid View

  1. #1
    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.)

  2. #2
    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.

  3. #3
    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.

 

 

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

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