How to change teaser image link?

Posts: 34
Joined: 02/05/2008

Hi!

This question might have been posted to Contemplate issue cue, but let's give a try here. Smiling

I use Contemplate module to format my product template.
I'd like to change the link of the teaser image, to point to the post, directly.
By default it ponts to the full size view of the image.
Full size image should be available from the full node or with a separate 'Enlarge image' link in teaser view.

How should I do this?

Thanks,

Zsigmond

Posts: 64
Joined: 02/13/2008

Hey zptoth

i think u'll need to mod the node-product.tpl.php

check thread

http://www.ubercart.org/forum/support/2907/help_modify_product_page

for more information about editing the file

i'll also be submitting tutorials on how to edit your products page soon.

Posts: 34
Joined: 02/05/2008

Hi!

I'll check it ASAP.

Another tricky Contemplate (+ Ubercart) related question:

Is there any way to use more than one templates for the same node type?

I'd like to define separate product templates for different type of products. (eg. different tempalte for computers and for T-shirts)

Or should I just 'clone' the Product node type somehow and define the default templates for the clones? How will Ubercart handle this?

Thanks,

Zsigmond

Posts: 2102
Joined: 08/07/2007
AdministratoreLiTe!

You can use Product Classes. Under the Products section you can Manage classes. When you create a product class, a new node type that acts like a product is created in Drupal.

Posts: 34
Joined: 02/05/2008

Thanks Lyle!
That's what we are looking for...

Zsigmond