Hi,
Any idea why after moving a site from one host to another the tag exp:safecracker started to output only javascript?
Consider such code:
{exp:safecracker channel="ebook_common" return="technical/test15"}
<p>Title<br />
<input type="text" name="title" id="title" value="{title}" size="50" maxlength="100"></p>
<p>URL Title<br />
<input type="text" name="url_title" id='url_title' value="{url_title}" maxlength="75" size="50" /></p>
<label for="categories">Categories</label>
<select name="category[]" id="categories" size="4" multiple="multiple">
{categories}
<option value="{category_id}"{selected}>{category_name}</option>
{/categories}
</select>
<p>Project Title<br />
<input type="text" name="project_title" id='project_title' value="{project_title}" maxlength="75" size="50" /></p>
<p><input type="submit" name="submit" value="Submit" />
{/exp:safecracker}
This code outputs:
< script type="text/javascript" charset="utf-8" src="http://www.antiquityillustrated.com/index.php?ACT=48&ui=core,widget,mouse,position,draggable,resizable,button,dialog,datepicker&plugin=scrollable,scrollable.navigator,ee_filebrowser,markitup,thickbox&v=1292840586&use_live_url=y&include_jquery=y">[removed]
< script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function() {
if (typeof SafeCracker == "undefined" || ! SafeCracker) { var SafeCracker = {markItUpFields:{}};}
$.datepicker.setDefaults({dateFormat:$.datepicker.W3C+EE.date_obj_time});
$.datepicker.setDefaults({defaultDate: new Date(1308724328000)});
});
// ]]>
< /script>
<style type="text/css">.hasDatepicker{background:#fff url(http://...
There is channel ebook_common, there are fields in that channel, Safecracker is installed. I tried to uninstall and reinstall Safecracker, but it did not help.
Thanks.