Results 1 to 10 of 809

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Ceon URI mappings issue

    Yes, of course - didn't mention it as I thought wouldn't be of much interest

    In tpl_dynamic_filter.php

    change

    PHP Code:
    case 'Checkbox':
                            
    $filters .= '<li class="dFilterLink">' zen_draw_checkbox_field($group '[]'$attributes->fields['products_options_values_name'], (isset($_GET[$group]) && in_array($attributes->fields['products_options_values_name'],$_GET[$group]) ? true false), ($linkClass == 'disabled' 'disabled="disabled"' '') . ($onClick != '' && FILTER_STYLE == 'Checkbox - Single' ' onclick="' $onClick '"' '')) . htmlspecialchars(html_entity_decode($attributes->fields['products_options_values_name'], ENT_QUOTES)) .'&nbsp;<span class="no_of_attributes">(' htmlspecialchars(html_entity_decode($attributes->fields['quantity'], ENT_QUOTES)). ')</span>' '</li>'
    to

    PHP Code:
    case 'Checkbox':
                            
    $filters .= '<li class="dFilterLink">' zen_draw_checkbox_field($group '[]'$attributes->fields['products_options_values_name'], (isset($_GET[$group]) && in_array($attributes->fields['products_options_values_name'],$_GET[$group]) ? true false), ($linkClass == 'disabled' 'disabled="disabled"' '') . ($onClick != '' && FILTER_STYLE == 'Checkbox - Single' ' onclick="' $onClick '"' '')) . html_entity_decode($attributes->fields['products_options_values_name'], ENT_QUOTES) .'&nbsp;<span class="no_of_attributes">(' html_entity_decode($attributes->fields['quantity'], ENT_QUOTES). ')</span>' '</li>'
    I simply removed the two htmlspecialchars references. The same edit will be needed in the 'Link' and 'Dropdown' cases.

    This allows html formatting of Option Values.

    HOWEVER, this also raises a previous problem I had completely forgotten about, namely that the 'special' characters in html code such as < = " > / cause filtering errors i.e. 'There are no products to list in this category.', if I remove these characters then filtering with said Option Vale works as it should.

    There was a post/edit made a while back regarding escaping special characters but I was never able to get it to work for these characters.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Ceon URI mappings issue

    Quote Originally Posted by simon1066 View Post
    Yes, of course - didn't mention it as I thought wouldn't be of much interest

    In tpl_dynamic_filter.php
    change
    Thanks for that. I noticed this problem on a site I was working on a few weeks back, but I had other more important things to take care of at the time and never got back into looking for a solution.

    I guess there is more interest than you expected eh? :-)

    Thanks again

    RodG

  3. #3
    Join Date
    Oct 2011
    Posts
    168
    Plugin Contributions
    0

    Default Re: Ceon URI mappings issue

    Hi Design75

    Could you include the info about "How to update from old version" in the document?

  4. #4
    Join Date
    Oct 2011
    Posts
    168
    Plugin Contributions
    0

    Default Re: Ceon URI mappings issue

    I have a problem with the price filter shown as the image below.
    Name:  Capture1.PNG
Views: 328
Size:  3.2 KB
    zen: v1.5.3; DF: got from here
    I had thought it would be a issue from error merging. After copying the DF files to zen cart directly, there is nothing change, even if I set the Enable Price filter to No.
    other thing: I have not set tax.
    Is anybody can help?
    Thanks

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

    Default Re: Ceon URI mappings issue

    Quote Originally Posted by su35 View Post
    I have a problem with the price filter shown as the image below.
    Name:  Capture1.PNG
Views: 328
Size:  3.2 KB
    zen: v1.5.3; DF: got from here
    I had thought it would be a issue from error merging. After copying the DF files to zen cart directly, there is nothing change, even if I set the Enable Price filter to No.
    other thing: I have not set tax.
    Is anybody can help?
    Thanks
    It is a know bug i am working on right now. Better use the last version from the downloads section here

  6. #6
    Join Date
    Oct 2011
    Posts
    168
    Plugin Contributions
    0

    Default Re: Ceon URI mappings issue

    Thanks Design75
    By the way, the 1.2bate is work on 1.5.1 version.

  7. #7

    Default Re: Ceon URI mappings issue

    Hello,

    I have the filter working on my site but have a problem.

    It works great with existing attributes, but if I add an attribute and add it into 'include options' it shows up but returns no results when clicked on.

    Any ideas? Thanks.

 

 

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