Hi Rob,
Thanks - I updated the lib file but I’m still having issues.
I’ve tried it with the ee native and SafeCracker File.
There’s definitely an issues with missing some CSS includes so I’m thinking maybe there is some missing JS as well.
Do you have a basic template example code that you have tested where this works?
To clarify a couple of things:
In the docs you mention to include
<link href="{path=css/_ee_saef_css}" type="text/css" rel="stylesheet" media="screen" />
That doesn’t exist in EE 2.0. I have a look and there is a saef.css in /themes/cp_themes/default/css - but that seems to only have styles for MarkitUp.
Using SafeCracker File (which I’m using within a matrix) if I click browse I the the :
<div id="file_manager" style="width: auto; min-height: 0px; height: 477px; " class="ui-dialog-content ui-widget-content">etc</div>
But none of that is styled. What is the best way to link in those required CSS files? I thought {safecracker_head} should take care of that.
If I do click browse and then try to upload a file I get:
Uncaught TypeError: Cannot call method 'upload_error' of undefined index.php?ACT=9&action=upload:1
When you had this working were you using the ajaxForm code you have at the bottom of the docs or did you have to use the iframe: true paramater to get this to work?
Any help would be appreciated.