WebmasterSite.net

Custom Cat Image Problem

Version: 5.1.0 beta14
URL: http://www.bedsofparadise.co.uk/

PrintPrint


Custom Cat Image Problem
babrees
Expert
Avatar

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

Total Topics: 392
Total Posts: 1287
quote post #1
Posted 09/05/09 - 1: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

Edited by Paul on 09/06/09 - 3:51 PM. Reason: formatting
Paul
developer
Avatar

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

Total Topics: 65
Total Posts: 7614
quote post #2
Posted 09/08/09 - 2:23 PM:

Fixed custom attachment field deletion and the forum posting WYSI issue.

Edited by Paul on 09/08/09 - 5:17 PM
 
Search thread for
Download thread as


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