Results 1 to 4 of 4

Thread: Editing Catalog Templates

  1. #1
    New user
    Join Date
    03-25-10.
    Location
    Boston & San Antonio
    Posts
    28

    Default Editing Catalog Templates

    I'm having trouble editing the "simple" template within Catalog. There are three things I'm trying to accomplish:
    • Removing the small thumbnail from the template[/*:m:2jjm0b1l]
    • Editing the linkable text from "View the item details" to something custom[/*:m:2jjm0b1l]
    • Making the entire grey box clickable, and not just "View the item..." text[/*:m:2jjm0b1l]

    You may view the current page here as reference:
    http://hartboillot.com/HB2010/cases.html

    Any help would be greatly appreciated. Thank you!

    -Justin-
    Learn more about our agency at http://www.hbagency.com
    Follow the agency on Twitter at http://www.twitter.com/hb_agency
    Follow me on Twitter at http://www.twitter.com/jrh_creative

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Editing Catalog Templates

    You can follow the Catalog Template Tutorial. That will help greatly. Warning only Intermediate PHP scripters need apply.\

    The link is in the Sticky Post:
    viewtopic.php?f=27&t=15

  3. #3
    New user
    Join Date
    03-25-10.
    Location
    Boston & San Antonio
    Posts
    28

    Default Re: Editing Catalog Templates

    Thyon,

    Thanks for the link. Unfortunately, my limited knowledge of PHP may be a roadblock. However, I will do the best I can. Thanks again!

    -Justin-
    Learn more about our agency at http://www.hbagency.com
    Follow the agency on Twitter at http://www.twitter.com/hb_agency
    Follow me on Twitter at http://www.twitter.com/jrh_creative

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Editing Catalog Templates

    Justin - did you get this figured out? It looks like you were able to change the link text. I don't understand quite what you meant about removing the small thumbnail from the template. You would simply need to uncheck the image field under "Visible Fields" on your list module.

    As for the last last question, I'm using a bit of jQuery to make the whole entry clickable. It could also be done through some template mods, but the script also a good solution. Here's the code, which is "6. Entire block clickable" on this page:

    Code:
    $(document).ready(function(){
    	$(".pane-list li").click(function(){
    	  window.location=$(this).find("a").attr("href"); return false;
    	});
    });

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
  •