Zen Cart Logo
Forums / Addon Sideboxes / Dynamic Filter [Support Thread]

Dynamic Filter [Support Thread]

Views: 652,515

Results 161 to 180 of 809
27 Nov 2012, 17:25
#161
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Dynamic Filter [Support Thread]

Yes, I pm'ed the developer once on this plugin and he responded.

Although your site is attractive, I found it hard to know where I was when subcats are open. I've usually found the BetterCats plugin that Picaflor uses on her templates, and the little down-arrow, to be ineffective as a locator, especially when there are alot of subcats. And I typically don't rely on breadcrumbs.

So instead of being helpful as a locator, I find it often makes the categories/subcats column look too busy. And although attractive, I think there is a danger of your blue and gold looking too busy or hard to orient...don't know.

We also use Picaflor templates and on my main site here I went so far as to change link color when selected:

http://www.prommart.com/alyce-6748-p-910.html

I guess that was the main thing. But posting on the Reviewer's Corner is something even I should do.

Steve

Prommart.com
Fashion-Mart.biz

27 Nov 2012, 18:03
#162
framegirl avatar

framegirl

New Zenner

Join Date:
Nov 2012
Posts:
12
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

Thanks. I'll look into changing the color of the category when selected.

29 Nov 2012, 14:01
#163
fisherman avatar

fisherman

New Zenner

Join Date:
Aug 2012
Posts:
23
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

Howdy!

I installed Dynamic Filter and it seems to be working except for the filter sidebox headings. For example, instead of "By ", the DYNAMIC_FILTER_TEXT_PREFIX displays DYNAMIC_FILTER_TEXT_PREFIX. All of the headings do this. Here's the source of that part of the page:```
!--// bof: dynamicfilter //-->

<div class="leftBoxContainer" id="dynamicfilter" style="width: 150px"> <h3 class="leftBoxHeading" id="dynamicfilterHeading">BOX_HEADING_FILTER</h3> <div id="dynamicfilterContent" class="sideBoxContent"><form name="product_filter_form" action="" method="get"><input type="hidden" name="cPath" value="65" /><hr width="90%" size="0" /><div><div class="dFilter"><p class="dFilterHeading">DYNAMIC_FILTER_TEXT_PREFIXDYNAMIC_FILTER_TEXT_PRICEDYNAMIC_FILTER_TEXT_SUFFIX</p><ul><li class="dFilterLink"><a class="enabled" rel="nofollow" href="http://192.168.1.117/menstore/jewelry/Silver_Jewelry?DYNAMIC_FILTER_PREFIXDYNAMIC_FILTER_PRICE_GROUP[]=51.75--62" >$52 and over</a></li></ul></div></div></ul></div></div><div id="dFilterClearAll"></div></form></div></div> <!--// eof: dynamicfilter //--> ```

Can someone help me fix it? Thanks!

29 Nov 2012, 16:07
#164
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Dynamic Filter [Support Thread]

You look to have forgotten a language file when installing the mod.

~Melanie

29 Nov 2012, 16:50
#165
fisherman avatar

fisherman

New Zenner

Join Date:
Aug 2012
Posts:
23
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

mprough:

You look to have forgotten a language file when installing the mod.

~Melanie

Melanie,

Thank you very much. Led me right to it. I put that file in the wrong directory. So, how you done git so smart? Eh? LOL

29 Nov 2012, 16:53
#166
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Dynamic Filter [Support Thread]

Broke quite a few carts in my time :P

06 Dec 2012, 18:01
#167
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

I have a bit of a problem that i could really use some help with....

Ok, somebody else was working on my sites admin and somehow managed to copy every attribute to every product, but only for the attributes that were dropdowns, the radio button ones were fine. He wasn't sure what he pressed that made that happen. I have resolved it now though after tediously deleting and then re-adding all the attributes we need.

The problem however lies now with the Dynamic Filter addon. It works fine with the radio button attributes that were left untouched by the previous error, but it will not work with any other attribute. I have done trial and error of moving products to different categories, renaming attributes etc....

I have narrowed the problem down, and i believe it to be that when i now add a new attribute to a product, it assigns that attribute with an id of around 32000. Even though i got rid of all the unwanted attributes, the id hasn't reset to a lower number.

I'm struggling to figure out how to rectify this problem. Is there any way of resetting all the attribute numbers so they start from 1 again? Even if i delete all the attributes and start again, the ids do not restart from 1 again. Maybe there is a way from phpmyadmin?

I have the Dynamic Filter working fine on another site, so im pretty sure this is the problem.

Any help would be greatly appreciated.

My site is www.drgreens.co.uk it is down for maintenance at the minute as i am redesigning it, but if anybody can help i can turn it back on.

Thanks in advance

06 Dec 2012, 20:24
#168
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Dynamic Filter [Support Thread]

That does sound like a database field size issue, and there should be a simple phpMyAdmin statement you can run to reset the id. Ajeh could probably give the best answer that doesn't leave any holes open or orphan data in your db.

31 Dec 2012, 02:52
#169
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

in mysql, you can not order by a different field other than the group by field. as the group by already sort by it's filed.
but i don't know how to solve the problem.

31 Dec 2012, 16:50
#170
datax avatar

datax

New Zenner

Join Date:
Jun 2006
Posts:
37
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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!

31 Dec 2012, 16:55
#171
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Filter [Support Thread]

Datax:

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

01 Jan 2013, 00:21
#172
datax avatar

datax

New Zenner

Join Date:
Jun 2006
Posts:
37
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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.

01 Jan 2013, 10:06
#173
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Dynamic Filter [Support Thread]

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.

01 Jan 2013, 11:41
#174
datax avatar

datax

New Zenner

Join Date:
Jun 2006
Posts:
37
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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

05 Jan 2013, 02:24
#175
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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.

06 Jan 2013, 21:03
#176
karinvd avatar

karinvd

New Zenner

Join Date:
Nov 2012
Location:
Utrecht, Nederland
Posts:
43
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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!! (-:

08 Jan 2013, 20:23
#177
karinvd avatar

karinvd

New Zenner

Join Date:
Nov 2012
Location:
Utrecht, Nederland
Posts:
43
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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.

14 Jan 2013, 05:26
#178
ev8321 avatar

ev8321

New Zenner

Join Date:
May 2011
Posts:
10
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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)

  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)

  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) > 0 || 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;
  }
15 Jan 2013, 07:56
#179
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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

15 Jan 2013, 15:48
#180
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Dynamic Filter [Support Thread]

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??