Webmastersite.net
Register Log In

Custom Cat Image Problem

Title Custom Cat Image Problem
Message Text I have a custom category field to add an image (CATIMAGEATTACH). (1) If I attach an image to a category that has a secondary category, it changes the main category to the same as the secondary. ie. category is a sub-category of Divans and has secondary category of mattresses. After adding an image the sub-category becomes mattresses and it disappears from the divan category. (2) I have the following code in the customcat.tpl, which has always worked in previous versions
<tr>
   <td class="labelscolumn"><span class="labels">Category Image:</span></td>
   <td class="optionscolumn">
<input type="file" name="imageattach" >
<br />
<a href="{CATIMAGEATTACHDOWNLOADURL}" target="_blank">{CATIMAGEATTACHTITLE}</a>
<input type="checkbox" name="imageattachdelete" value="1"> Delete 
  </td>
  </tr>
However, if I click to delete the image it doesn't work (edit) I had to edit this as the paragraphs were removed. I had to switch to plain editor in order to have separate paragraphs
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership babrees
Views 254 views. Averaging 0 views per day.
Similar Topics
Submission Date Sep 05, 2009 - 4:34 AM