Closed (fixed)
Project:
Historic Monument Display
Version:
master
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2006 at 23:08 UTC
Updated:
6 Feb 2007 at 23:46 UTC
monument_image.module currently uses hook_form_alter to insert additional fields into image.module when images are being added or edited etc. This permits additional data relevant to a monument image, such as compass bearing, associated monument ID etc to be recorded. hook_nodeapi is also used.
The problem is - now of course every image becomes modified in this way. There must be a way of reverting back to just a normal image when required, but I am not sure how to proceed.
Only idea so far involves putting something else in here (function monument_image_form_alter):
if ($just_do_normal_image||!isset($form['type']) || $form['type']['#value']!='image') {
return;Any ideas welcome as this is a show stopper really.
Comments
Comment #1
grunthus commentedFixed in HEAD
Comment #2
(not verified) commented