I had the same issue. I posted my workaround earlier in the thread– these two posts: Post 1: http://ellislab.com/forums/viewthread/38997/P342/#334387 (the idea) Post 2: http://ellislab.com/forums/viewthread/38997/P342/#335189 (the code) Hope that helps, -Matt
Ah thats great.
Thanks.
Guys, somebody “married” this extension with SAEF?Are you asking if anyone has done so?
I can’t understand where should I place this code
2nd. You will need add this javascript.
function addRow( self )
{
if(typeof(self) != "object") self = this;
if(!self.nodeName || self.nodeName != "INPUT") self = this;
And if it mod.weblog_standalone.php, so, in what part? Where is start of </script>
I had the same issue. I posted my workaround earlier in the thread– these two posts: Post 1: http://ellislab.com/forums/viewthread/38997/P342/#334387 (the idea) Post 2: http://ellislab.com/forums/viewthread/38997/P342/#335189 (the code) Hope that helps, -Matt
Hmm it seems I was a little premature - it works for the first description - but all subsequent images have the 1st line’s caption.
Any idea?
I’m still battling this error and I’m really at a lost for a solution. The error occurs when I try to modify the settings of the File Upload Preferences with Mark Huot’s File extension. The strange thing is the extension worked at one time and its got me fluxomed what changes have occurred that could be responsible.
I’m starting to get a bit desperate for a solution with a deadline looming. If anybody has a tip to try I would be so very appreciative.
MySQL ERROR:
Error Number: 1064
Description: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE id=values(id), `key`=values(`key`), val
Query: INSERT INTO exp_mh_file VALUES('', 8, 'allow_multiple', 'no') ON DUPLICATE KEY UPDATE id=values(id), `key`=values(`key`), value=values(value)
I’m still battling this error and I’m really at a lost for a solution. The error occurs when I try to modify the settings of the File Upload Preferences with Mark Huot’s File extension. The strange thing is the extension worked at one time and its got me fluxomed what changes have occurred that could be responsible. I’m starting to get a bit desperate for a solution with a deadline looming. If anybody has a tip to try I would be so very appreciative.MySQL ERROR: Error Number: 1064 Description: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE id=values(id), `key`=values(`key`), val Query: INSERT INTO exp_mh_file VALUES('', 8, 'allow_multiple', 'no') ON DUPLICATE KEY UPDATE id=values(id), `key`=values(`key`), value=values(value)
Just upgrade to the latest version and thats fixed.
That is directly from the file docson Marks site.
I tried the above:
{file_ext}
{if file_thumb_path != ''}{file_thumb_path}
{/if}
{if file_path != ''}{file_path}
{/if}
{/file_ext}
file_ext is the field name. Actually, over the past 5 hours I have tried everything, trying to have an image show if it’s an image, a file path if a file. seems impossible to do. Looks like one can’t have two on the same page either, tried adding 2 extensions, one for images, one for files, no go.
This works for multiple images:
{if file_ext}
Uploading multiple images using the file extension.
{file_ext}
<a href="http://{file_url}">{file_thumb_url}</a>
{/file_ext}
{/if}
Thanks for answering! .
You can have two– I do it on some pages (using different custom fields, and the same custom field in 2 places). If you use the {field} {/field} setup it repeats. Otherwise it should just use the first file listed.
Are your two times using the same custom field? What if you do it once?
If you don’t use conditionals, do the values come up?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.