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-
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
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-
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;
});
});