Page 15 of 15 FirstFirst ... 5131415
Results 141 to 149 of 149
  1. #141
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Short Description for Categories... have a description above & below product list

    An even better way, which touches no core files, is to add this file to the plugin's files:

    /admin/includes/extra_datafiles/sanitizer_categories_sub.php
    Code:
    <?php
    $sanitizer = AdminRequestSanitizer::getInstance();
    $group = array(
      'categories_description_sub' => array('sanitizerType' => 'PRODUCT_DESC_REGEX', 'method' => 'post'),
        );
    $sanitizer->addComplexSanitization($group);
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #142
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: Short Description for Categories... have a description above & below product list

    A new update has been submitted for this module to include:

    Updated for Zen Cart 1.5.5e.
    Added admin sanitize file (see below) to work with CKEditor per drByte.
    Created new files for classic_responsive template.

    Will post again once module has been approved.

    ENJOY!!


    Quote Originally Posted by DrByte View Post
    An even better way, which touches no core files, is to add this file to the plugin's files:

    /admin/includes/extra_datafiles/sanitizer_categories_sub.php
    Code:
    <?php
    $sanitizer = AdminRequestSanitizer::getInstance();
    $group = array(
      'categories_description_sub' => array('sanitizerType' => 'PRODUCT_DESC_REGEX', 'method' => 'post'),
        );
    $sanitizer->addComplexSanitization($group);

  3. #143
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: Short Description for Categories... have a description above & below product list

    https://www.zen-cart.com/downloads.php?do=file&id=355

    New update has been approved and ready for download

  4. #144
    Join Date
    Jul 2017
    Location
    Ukraina
    Posts
    3
    Plugin Contributions
    0

    Default Re: Short Description for Categories... have a description above & below product list

    Hello! Please help me. I have a problem with categories (after installing ZenCart 1.5.5e module) - an endless loading when go to categories. I checked logs and noticed this error: PHP Parse error: syntax error, unexpected '}' in /home/pitbulldogbreeds/public_html/includes/templates/yourstore/templates/tpl_index_categories.php on line 130. can you help me, please?

  5. #145
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Short Description for Categories... have a description above & below product list

    Hello - does anyone have this mod working in v1.5.7b (or 1.5.6 even) ?? - have used this for years and would like to continue with it in 1.5.7b

    cheers,
    Mike

  6. #146
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,154
    Plugin Contributions
    11

    Default Re: Short Description for Categories... have a description above & below product list

    The more accurate question might be... Would anybody try to make it work with 1.5.7b? One might consider cloning the way the product description works on the all products page (the ...) and incorporate it into the category description.

    Seems like that would be far superior to making the customer look in two places for the category information.

    One way with jQuery would be https://www.viralpatel.net/dynamical...e-link-jquery/ which uses the more...

    If you just wanted to "see" the first paragraph and not the others until an event, you'd wrap all but the first in a div with display:none and toggle it on with a click on the div.

    My point. If you are going to spend time, spend it finding current methods. Bandaids hurt when they get ripped off.

  7. #147
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Short Description for Categories... have a description above & below product list

    Quote Originally Posted by dbltoe View Post
    The more accurate question might be... Would anybody try to make it work with 1.5.7b? One might consider cloning the way the product description works on the all products page (the ...) and incorporate it into the category description.

    Seems like that would be far superior to making the customer look in two places for the category information.

    One way with jQuery would be https://www.viralpatel.net/dynamical...e-link-jquery/ which uses the more...

    If you just wanted to "see" the first paragraph and not the others until an event, you'd wrap all but the first in a div with display:none and toggle it on with a click on the div.

    My point. If you are going to spend time, spend it finding current methods. Bandaids hurt when they get ripped off.
    Everything you said makes sense dbltoe and you know I value your opinions.
    a couple of things I would offer as comments

    Would anybody try to make it work with 1.5.7b?
    The plugin had over 3900 downloads so it seems it is possible there are many zenners out there using this plugin that have yet to move on from v1.5.5 - like me very, very recently. .... unless of course you meant why would anyone try to make the current plugin work with 1.5.7b rather than start afresh - in which case I agree, if it cannot be readily modified then absolutely correct.

    Seems like that would be far superior to making the customer look in two places for the category information.
    The information provided in the primary category description was always enough to give the customers an accurate overview of what the category was about / contained without boring them to death or making the content too long (particularly for mobile view). The additional content at the bottom of each page of the category listings was just that, additional - some may have read it, most will not have - women shopping for jewelry shop by images first and foremost and text is secondary other than when they get the to the product page and even then they skim.

    I used the additional text in the extra box for the crawlers primarily - extra content (content is king, right?)

    One way with jQuery would be https://www.viralpatel.net/dynamical...e-link-jquery/ which uses the more...
    I think this one would work - I would need to figure a way to implement it without breaking my site which would be a mammoth task for me , not to say that I wouldn't try - additionally the more Jscripts on the site the worse the performance becomes with Core Web Vitals and Lighthouse performance scores, something I'm desperately trying to improve to get ahead of my competitors (maybe this script loads last in <body> - not sure, haven't checked it out yet so cannot be sure it would affect those scores). And, yes I am trying to improve html and css to current standards, gradually - as well as adding more content on the site (a wholistic approach) - I do listen most of the time.

    I will take a good look at that Vital Patel page soon and try to digest the detail and see if I think I can use it without too much risk.

    Again many thanks for the info,
    cheers,Mike
    Last edited by shags38; 14 Feb 2021 at 06:12 AM.

  8. #148
    Join Date
    Jun 2008
    Location
    Warrenpoint, United Kingdom
    Posts
    44
    Plugin Contributions
    0

    Default Re: Short Description for Categories... have a description above & below product list

    Hi, does anyone know if this plugin works with latest version of zen cart v1.5.8a?

    Looking to upgrade, but would like to continue having this plugin

    ...or an alternative plugin / method that has the same function.

    Thanks

  9. #149
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,497
    Plugin Contributions
    88

    Default Re: Short Description for Categories... have a description above & below product list

    I'm going to take a big guess and say that the plugin will require changes to run under Zen Cart 1.5.8. I don't have any clients that currently use this, so I can't be much of an aid.

 

 
Page 15 of 15 FirstFirst ... 5131415

Similar Threads

  1. v139h Short Description problems - no description on product list page
    By jgold723 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Oct 2014, 05:52 AM
  2. Short Description mod - bigger textbox for Product Add page?
    By christopherw in forum Addon Templates
    Replies: 9
    Last Post: 1 Nov 2010, 12:07 AM
  3. Short Product Description for category page
    By hockey2112 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 9 Aug 2010, 11:35 PM
  4. Products Listing - Add Model below title, above description
    By margecc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Jun 2008, 07:57 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR