So, I have 4 different uploader templates, depending on the blog (and destination field for the uploaded file). All these uploader templates point to a template called upload_placement
In two of my weblogs, this works just fine, step 1 upload, step 2 place, click and it places and closes the window. But, in two of my weblogs this does not work. It does not place or close the window. Instead of closing the window, it shows the default blog in the little popup window. All 4 are using the same placement template. Not a copy or a duplicate, but the exact same placement template. I cannot figure out why this is not working. Why is the default weblog showing for 2 of the weblogs but not the others? (I’m assuming it’s showing the default weblog as a 404 as I have no page set as a 404).
Here is the code in my placement template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Place File</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{javascript}
</head>
<body>
<h3>Step 2 of 2: Place the image</h3>
{exp:file_upload:upload_confirm field_replace="end"}
<input type='submit' value='Place Image and Close Window' onclick='fileplacer();window.close();' />
{/exp:file_upload:upload_confirm}
</body>
</html>
Thank you!
