Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Posts
    61
    Plugin Contributions
    0

    Default Shorter Category Descriptions?

    Hi Everyone,
    After some initial feedback from friends on how my Zencart is developing, the main suggestion has been to shorten the initial category descriptions on each category page by adding a "Read More..." link after the first couple of sentences.

    I was wondering if this is already available as a setting or mod, or if I will have to use Dreamweaver Spry widgets in order to get this effect?

    Just to be clear, I'd like the category descriptions to read as follows...

    "Lorem ipsum dolor sit amet, consectetur...read more."

    rather than

    "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."

    Many thanks for any advice you can offer.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Shorter Category Descriptions?

    There is no built in support for this, so you would need to add your own javascript, SPRY or otherwise. You may find it helpful to read the file in your docs folder about adding javascript to Zen Cart. There's a built in structure/naming convention to help with this.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Dec 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: Shorter Category Descriptions?

    Quote Originally Posted by kuroi View Post
    There is no built in support for this, so you would need to add your own javascript, SPRY or otherwise. You may find it helpful to read the file in your docs folder about adding javascript to Zen Cart. There's a built in structure/naming convention to help with this.
    Many thanks for your reply Kuroi. I have read the files in my docs folder now, and installed my spry Javascript into my templates/jscript folder.

    It seems to have done the trick (although it has interfered with my imagehandler pop-ups).

    I will see what they can help me with in the image handler thread.


  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Shorter Category Descriptions?

    I can probably short cut the Image Handler issue for you ...

    You have probably installed the image handler javascript in your template_default/jscript folder. When you put stuff in a MY_TEMPLATE/jscript folder, Zen Cart stops looking at the template_default equivalent. So sorting your problem will hopefully require no more than putting a second copy into (or moving it to) your template's jscript folder.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Dec 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: Shorter Category Descriptions?

    Quote Originally Posted by kuroi View Post
    I can probably short cut the Image Handler issue for you ...

    You have probably installed the image handler javascript in your template_default/jscript folder. When you put stuff in a MY_TEMPLATE/jscript folder, Zen Cart stops looking at the template_default equivalent. So sorting your problem will hopefully require no more than putting a second copy into (or moving it to) your template's jscript folder.


    Yes, you are correct Kuroi, that solved it.

    Thanks again.

 

 

Similar Threads

  1. Shorter SEO-friendly URLs
    By driven13 in forum General Questions
    Replies: 7
    Last Post: 31 Jul 2010, 08:22 AM
  2. Changing address bar URL's to shorter versions
    By peacefuldaze in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Dec 2007, 02:23 PM
  3. Category Descriptions
    By hondauser85 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 20 Feb 2007, 03:21 PM
  4. Category Descriptions displayed along-side Category Images.
    By roadhead in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 14 Nov 2006, 02:43 PM
  5. Category Descriptions
    By brivers in forum General Questions
    Replies: 2
    Last Post: 23 Jun 2006, 07:28 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