You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
In CCP51, I changed the product option selection name field to things like:
Cute <IMG SRC=http://www.supercapes.com/ccp51/media/images/site/supercute.jpg>
And used radio buttons. And the image showed up right next to the product option selection.
In CCP60, I changed the ccp0_prodoptionsel table's name field to text (varchar(40) was too short), but the display is just the exact text you see above instead of the picture. - see http://www.supercapes.com/khxc/index.ph … ef=cape021
Offline
In some cases, when the option is a letter of the alphabet, that would be 26 pictures. There's no way to display pictures next to options? radio buttons or some other?
Offline
That's exactly what I was asking here:
It would be really nice if this could be figured out...
Offline
I did it in CCP51...and it worked great.
Offline
Actually there is a really easy way to do this in CCP6. Go here:
Kryptronic Hybrid X Core > Displays: Skins, Menus, XHTML Includes and Messages > Manage XHTML Includes
Edit the 'Formfield: Radio Button' include (or any other form field type). Look for:
$value = $this->xhtml_encode($value);
And change to:
if (!(preg_match('/\<.*?\>/',$value))) {$value = $this->xhtml_encode($value);}
This encodes the value as an XHTML compliant string only if it does not contain HTML tags.
Offline
Beautiful! Thanks!
Offline
will this work in V7???
Offline
Yes it should.
Offline
would this work on a selection list?
Offline