I'm using phpwebsite 0.10.0 with uplink module 0.7.4.
I've been able to successfully create new uplinks with
photos before (although not often) but now when I try
to submit a new uplink, clicking the 'Save Uplink'
button takes me to the Event Calendar form. The uplink
is not uploaded or saved. I'm trying to upload a pdf
document but I get the same behavior when trying a test
image.
I haven't installed any new modules in a long time so I
don't know what the problem could be. I'd appreciate
any help.
Mark
Logged In: YES
user_id=780595
I've seen this problem before with other modules, so I'm
going to take a stab at guessing what this problem is.
I think the problem is that the uplink form is missing the
{END_FORM} at the end of its edit.tpl. Most browsers
understand what the user wants and handles this ok.
However, when you have the calendar on the right side of the
website, things break because calendar has a submit new
event form. Now the browser gets confused since the uplink
form wasn't closed and thinks the submit event form is what
you want and does the action associated with that. It all
depends where the calendar is in the code in relation to the
uplink form.
Long story short, add {END_FORM} to the bottom of
mod/uplink/templates/edit.tpl and see if that fixes it for you.
Logged In: YES
user_id=780595
Moved to uplink tracker.
Logged In: YES
user_id=1264158
Thanks blindman, that worked perfectly! And I did recently
move the calendar to the right-hand column just as you
thought. Awesome!