There appears to be a problem with the simple uploader extension form Paul Burdick in conjunction with the newer EE releases. It’s not a major issue, but annoying enough for me to disable it.
In the extension you can specify in which field you want the image to be placed in:
var $field_id = '1';
If I upload an image with this setting, the code will be placed in field ‘2’. If I specify field 2, it will be placed in field three. I tried the last field to see what happens then; I get a blank screen. I also tried field ‘0’ hoping it would place the image in field ‘1’, but that also results in a blank page.
Kind regards Henk
Very odd- I’m not replicating with latest EE and latest copy of the extension. No other extensions installed and a SAEF striaght out of the docks- put the image in a textarea field.
Do you run into the same thing if you use a stock SAEF? And what other extensions are installed?
OK, first, I am using 1.6.5, but was thinking that that wouldn’t make much of a difference. I am not using any SAEF, it’s straight input at the CP. If you use it with a new entry in the CP are you able to replicate it?
I will try it with another installation, see what that brings.
I didn’t think that extension worked in the control panel does it? Isn’t it just meant for an SAEF?
Is this the extension you mean noregt?
Best wishes,
Mark
Duh, I missed that! But still…
The odd thing is that is DOES work in the CP, even if it’s not meant to do that? Once installed it disables the normal file upload whether it’s through the SAEF or the CP.
I just tested another installation on the same server, but version 1.6.2, and there the files are placed in the proper field.
PS; no other extensions or anything. Pretty bare bones version. I did rename the fields.
OK- after consulting, it looks like it completely takes over if installed- SAEF and the CP.
So no buginess there. But- I still can’t replicate how it’s getting ‘off’ on your field ids. Not replicating on mine.
Are you dead sure you’ve got the field id number correct? If you go to edit the field in question- in the url you’ll see the id http://mysite.com/system/index.php?S=&C=admin&M=blog_admin&P=edit_field&field_id=13
The field_id for that one is 13. No chance you’re looking at an order number or something that might be off by one?
OK, my mistake.
I now see I was looking at the field order number and not at the field id!
Once I put in the id number, the image is placed in the correct area. So, despite the fact that it comes as a surprise that the extension works in the CP as well, it works as it should.
Thanks!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.