Webmastersite.net
Register Log In

Custom Cat Image Problem

Comments on Custom Cat Image Problem

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 05, 2009 - 2:34 AM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 08, 2009 - 3:23 PM:

Fixed custom attachment field deletion and the forum posting WYSI issue.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.