Page 1 of 2 12 LastLast
Results 1 to 10 of 809

Hybrid View

  1. #1
    Join Date
    Jul 2004
    Location
    stroud, gloucestershire
    Posts
    205
    Plugin Contributions
    1

    Default Re: Dynamic Filter [Support Thread]

    Hi All,

    Ive just done an install of this mod on a clean version of Zencart but something isnt happening. Admin works fine but the fron end just shows a colpeltely blank screen. I have gone through and verified all of the files for the upload. where should i start?

    Paul
    Even novices can be professionals!

    Funky Fancy Dress

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Wilkesy View Post
    Hi All,

    Ive just done an install of this mod on a clean version of Zencart but something isnt happening. Admin works fine but the fron end just shows a colpeltely blank screen. I have gone through and verified all of the files for the upload. where should i start?

    Paul
    Are there any errorlogs in the cache / log folder ?
    what version of ZC?

  3. #3
    Join Date
    Jul 2004
    Location
    stroud, gloucestershire
    Posts
    205
    Plugin Contributions
    1

    Default Re: Dynamic Filter [Support Thread]

    Ive just gone through every file deleting to see if it affects the shop and the functions_general.php file is the reason. There is something in here that is causing to shop not to load properly.

    Paul
    Even novices can be professionals!

    Funky Fancy Dress

  4. #4
    Join Date
    Jul 2004
    Location
    stroud, gloucestershire
    Posts
    205
    Plugin Contributions
    1

    Default Re: Dynamic Filter [Support Thread]

    Hi,

    Always forget about the error logs.

    The error shows

    PHP Fatal error: Cannot redeclare zen_create_random_value() (previously declared in /home/rattanga/public_html/includes/functions/functions_general.php:626) in /home/rattanga/public_html/includes/functions/password_funcs.php on line 86



    I am running Zencart 1.5.1
    Even novices can be professionals!

    Funky Fancy Dress

  5. #5
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Wilkesy View Post
    Hi,

    Always forget about the error logs.

    The error shows

    PHP Fatal error: Cannot redeclare zen_create_random_value() (previously declared in /home/rattanga/public_html/includes/functions/functions_general.php:626) in /home/rattanga/public_html/includes/functions/password_funcs.php on line 86



    I am running Zencart 1.5.1
    there are som differences btween the functions_general.php of 1.5.0 and 1.5.1
    use the default functions_genral.php from ZC 1.5.1
    Just merge the parts below:

    find
    PHP Code:
      function zen_get_all_get_params($exclude_array ''$search_engine_safe true) {

        if (!
    is_array($exclude_array)) $exclude_array = array();
        
    $exclude_array array_merge($exclude_array, array(zen_session_name(), 'main_page''error''x''y'));
        
    $get_url '';
        if (
    is_array($_GET) && (sizeof($_GET) > 0)) {
          
    reset($_GET);
          while (list(
    $key$value) = each($_GET)) {
            if (
    is_array($value) || in_array($key$exclude_array)) continue;
            if (
    strlen($value) > 0) {
              
    $get_url .= zen_sanitize_string($key) . '=' rawurlencode(stripslashes($value)) . '&';
            }
          }
        } 
    replace by:

    PHP Code:
      function zen_get_all_get_params($exclude_array ''$search_engine_safe true) {

        if (!
    is_array($exclude_array)) $exclude_array = array();
        
    $exclude_array array_merge($exclude_array, array(zen_session_name(), 'main_page''error''x''y'));
        
    $get_url '';
        if (
    is_array($_GET) && (sizeof($_GET) > 0)) {
          
    reset($_GET);
          while (list(
    $key$value) = each($_GET)) {
    // bof dynamic filter 1 of 3
            
    if ( (!in_array($key$exclude_array)) && (strlen($value) > || is_array($value) && array_filter($value) ) && ($key != 'main_page') && ($key != zen_session_name()) && ($key != 'error') && ($key != 'x') && ($key != 'y') ) {
    // eof dynamic filter 1 of 3
              
    if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) {
    //    die ('here');
                
    $get_url .= $key '/' rawurlencode(stripslashes($value)) . '/';
              } else {
    // bof dynamic filter 2 of 3
                
    if (is_array($value)) {
                  foreach(
    $value as $arr){
                    
    $get_url .= zen_sanitize_string($key) . '[]=' rawurlencode(stripslashes($arr)) . '&';
                  }
                } else {
    // eof dynamic filter 2 of 3
                  
    $get_url .= zen_sanitize_string($key) . '=' rawurlencode(stripslashes($value)) . '&';
    // bof dynamic filter 3 of 3
          
    }
    // eof dynamic filter 3 of 3
              
    }
            }
          }
        } 

  6. #6
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Is there a way to control the display of prices in the filter,
    instead of
    Name:  Capture5.GIF
Views: 446
Size:  1.8 KB

    to the following,
    $25 -- $50
    $51 -- $75
    $76 -- $100
    $100 and over
    Using Zen Cart 1.5.1

  7. #7
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Kevin205 View Post
    Is there a way to control the display of prices in the filter,
    instead of
    Name:  Capture5.GIF
Views: 446
Size:  1.8 KB

    to the following,
    $25 -- $50
    $51 -- $75
    $76 -- $100
    $100 and over
    Not that I know of. It would be useful :)
    Also keep in mind that the price used/shown in the filter is the one without tax/vat.

  8. #8
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Design75 View Post
    Not that I know of. It would be useful :)
    Also keep in mind that the price used/shown in the filter is the one without tax/vat.
    cant you set the price limits in the admin settings for dynamic filter?
    Phil Rogers
    A problem shared is a problem solved.

  9. #9
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    I don't think you can.
    Using Zen Cart 1.5.1

  10. #10
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Kevin205 View Post
    Is there a way to control the display of prices in the filter,
    instead of
    Name:  Capture5.GIF
Views: 446
Size:  1.8 KB

    to the following,
    $25 -- $50
    $51 -- $75
    $76 -- $100
    $100 and over
    Quote Originally Posted by Design75 View Post
    Not that I know of. It would be useful :)
    Also keep in mind that the price used/shown in the filter is the one without tax/vat.
    Has anyone resolved or addressed this issue?
    Using Zen Cart 1.5.1

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. Empty Dynamic Filter
    By LadyoftheCave in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 6 Jun 2016, 12:47 PM
  3. v150 Dynamic filter
    By Dinoleix in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 13 Aug 2013, 10:23 AM
  4. v150 Dynamic filter - All pages
    By Okkwebmedia in forum Addon Sideboxes
    Replies: 0
    Last Post: 8 Jul 2013, 08:52 AM
  5. v138a Dynamic Filter
    By SoftCorpse in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 18 Jun 2012, 01:32 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