Active
Project:
Ubercart Affiliate v2
Version:
6.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 May 2011 at 10:47 UTC
Updated:
28 Jul 2011 at 01:47 UTC
Hi!
On the page http://site.ru/user//affiliate/links/export// I get html code for a products, but instead of product picture showing
misc/watchdog-error.png.
What I do wrongly?
Comments
Comment #1
alexd73 commentedI noticed what array $product not contain any elements named field_image_cache, only field_image. I must rename field Image?
Comment #2
alexd73 commentedIt dawned on me! :) My Image field name is not standart for ubercart.
Now I have another question: How to display Image such as $product->field_image_cache[0]['view']
Comment #3
vlooivlerke commentedversion 2 has the same problem
my cck field is field_images
what now?
Comment #4
vlooivlerke commentedFound solution
First find and replace field_image_cache[0]['view'] with field_images[0]['view']
in 2.x dev line 377:
point the "/imagecache/product/images/" section to any preset folder.
Comment #5
j0rd commentedIt appears that nearly none of uc_affiliate2 uses theme() templates when it probably should.
This makes hacking the module the only option unfortunately.
It really needs to be re-written to make more use of theme hooks.