Jump to content

how to update the image fields to update admin side


Recommended Posts

Hi,

 

I have added image caption fields in admin products images tab using follwing code

 

admin/themes/default/template/controllers/products/images.tpl

 

<td id="td_image_id" class="pointer dragHandle center positionImage">
<input type="text"   name="image_caption"   value=image_caption  >  
</td>

 

I have added image_caption field in ps_image table.I have changed some script function in that same file .

 

imageLine({$image->id}, "{$image->getExistingImgPath()}", {$image->position}, "{if $image->cover}enabled{else}forbbiden{/if}", assoc," {$image->image_caption}");

 

usong above data retreive from the table .now i have stuggle with update the image_caption field.how to update that field ?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...