Page 18 of 29 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 290
  1. #171
    Join Date
    Dec 2009
    Location
    The Netherlands
    Posts
    903
    Plugin Contributions
    6

    Default Re: Dynamic Filter 1.0 not working for Options

    Quote Originally Posted by Datax View Post
    Hello,

    I tried this add-on in a 1.5.1 test-site. Like 'masterrusty' I also noticed the difference between the 1.5.0 and 1.5.1 core files.
    I tried to merge the files but I don't know enough about php to get the job done. That's for sure!

    Did anybody get this to work in 1.5.1.?

    Thanx!
    I have it working on a 1.5.1 test site and it works fine
    My site: Zen4All
    Supported Modules: Google Mapinator - Dutch language pack - Cookie Control
    Nothing is impossible, as long as you're willing to try, make mistakes, and learn.

  2. #172
    Join Date
    Jun 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Dynamic Filter 1.0 not working for Options

    Did you just dropped the files or did you change code? If you made changes can you please explain what to do to make it work.

  3. #173
    Join Date
    Dec 2009
    Location
    The Netherlands
    Posts
    903
    Plugin Contributions
    6

    Default Re: Dynamic Filter 1.0 not working for Options

    I will work when you just drop the files to the right places, after renaming the custom template folder names. However, it is better practice to compare the files on by one with existing files in your installation and merge the changes. All the edits that need to be made are clearly marked with comments by the author of the mod.
    Right now I don't have the time to make an update for this mod, since I have about ten other (paid) projects that need to be finished this month ;)
    There is one error in the installation pack the file "default_filter.php" in the folder "template file overrides\includes\index_filters\YOUR_TEMPLATE\" should be in "template file overrides\includes\index_filters".
    There is no override for this file. If you have not made any changes to this file just overwrite it on your server.
    My site: Zen4All
    Supported Modules: Google Mapinator - Dutch language pack - Cookie Control
    Nothing is impossible, as long as you're willing to try, make mistakes, and learn.

  4. #174
    Join Date
    Jun 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Dynamic Filter 1.0 not working for Options

    Yes I did notice that de default_filter.php has to go directly in index-filter folder.
    I've got the possibility for configuration. The problem is after installing the mod I get the message 'there are no products in this category' when I enter one of the categories. But I know they are there. Also there is no tool to filter. So now I have to figure out where it goes wrong.

    Thanks you for reaction. It would be nice if you ever find some time for looking at this problem.

    greetings

  5. #175
    Join Date
    Mar 2007
    Posts
    67
    Plugin Contributions
    0

    Default Re: Dynamic Filter 1.0 not working for Options

    How can I get the "Sort By:' items to display in a row rather than a column? They are dropping the item display too far down the page.

  6. #176
    Join Date
    Nov 2012
    Posts
    7
    Plugin Contributions
    0

    Default Re: Dynamic Filter v1.0

    Hello, my first post here:-)
    I have installed this wonderfull mod. It is exactly wat i was looking for. I Have only one problem, it shows my options in two languages. I use two languages at my site, and like to use three in the end.
    I Use a zen cart 151 fresh install, i added COWOA, Cookie_Control (is going to be deleted) super orders 5 final, creinhold_SBA5.1 alpha ect., ultimate seo urls, giftwrap, easy_populate,and catagory dressing.
    Can someone help me out?
    Thanks in advance and a happy new Year!! (-:

  7. #177
    Join Date
    Nov 2012
    Posts
    7
    Plugin Contributions
    0

    Default Re: Dynamic Filter v1.0

    Maybe i'm the first encountering this problem? I have no clou where to begin, because the category id is the same in both languages... enfin, ill try and find a solution.

  8. #178
    Join Date
    May 2011
    Posts
    6
    Plugin Contributions
    0

    Default Products By Attributes with Dynamic Filter on v151

    Products By Attributes with Dynamic Filter on v151

    Anyone have both modules working together on 151 as there are a few files which clash?

    Products by attributes installed successfully.
    Dynamic Filter unsuccessful.

    Reason: A number of files are clash when installed together.
    The file /includes/functions/functions_general is the first. I believe there are four in total.

    A comparison of the two files is below. Any assistance would be greatly appreciated.



    FILTER BY ATTRIBUTES CODE (/includes/functions/functions_general)
    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)) . '&';
        


            }
          }
        }
        while (
    strstr($get_url'&&')) $get_url str_replace('&&''&'$get_url);
        while (
    strstr($get_url'&&')) $get_url str_replace('&&''&'$get_url);

        return 
    $get_url;
      } 






    DYNAMIC FILTER CODE(/includes/functions/functions_general)
    PHP Code:
      function zen_get_all_get_params($exclude_array ''$search_engine_safe true) {

        if (!
    is_array($exclude_array)) $exclude_array = array();

        
    $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
              
    }
            }
          }
        }
        while (
    strstr($get_url'&&')) $get_url str_replace('&&''&'$get_url);
        while (
    strstr($get_url'&&')) $get_url str_replace('&&''&'$get_url);

        return 
    $get_url;
      } 

  9. #179
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    837
    Plugin Contributions
    0

    Default Help with Dynamic filter 1.1

    I have installed this onto 1.5.1 and love it, works perfect! Only problem is the expand and collapse box feature isn't working at all, all settings are being ignored and is always fully expanded?

    Anyone else had the same problem? Anyone able to suggest how to fault find it?

    I have been through the docs and checked all the installations files are present and correct.

    Thanks

    Phil
    Phil Rogers
    A problem shared is a problem solved.

  10. #180
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    837
    Plugin Contributions
    0

    Default Re: Help with Dynamic filter 1.1

    really could do with some help here, ive checked the html markup to see if there are any template clashes but all looks ok to me.

    whats weird is that the link for the expanding etc is in the code but not showing on the page:

    <a class="dFilterToggle" href="#">More<img src="includes/templates/mytemplate/images/arrow_more.gif" alt="More" title=" More " width="10" height="10" class="dFilterToggleImg" /></a>

    as a test I just took this code and pasted into an EZ page.. guess what still nothing showed on the page?

    I have noticed there are two class elements class="dFilterToggle" & class="dFilterToggleImg"

    is this normal? so at the moment I am unsure if it is the code above causing the problem, of the js not making the link appear??
    Phil Rogers
    A problem shared is a problem solved.

 

 
Page 18 of 29 FirstFirst ... 8161718192028 ... LastLast

Similar Threads

  1. v138a Dynamic Filter
    By SoftCorpse in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 18 Jun 2012, 01:32 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
  •