Cannot move any field
-
Hello everyone, first, im sorry for my english, so bad, i know.
I need some help with the plugin. There are any way to move the fields (not fieldset) individually? And…there are any way to create new fields into uppers fieldsets? When i create field, it always add to the last fieldset of the form, in this way, i have to delete all the fields and fieldset, until the first, if i forget to add a field on the first fieldset…
I hope you understand me, it’s hard to me.
Thanks!
-
check the errors with chrome.
do you have jquery on your admin?Sorry for the reply delay.
I have checked errors, there is only one:
Uncaught TypeError: Object [object Object] has no method 'Jcrop' admin.php?page=easy-contact-forms-main-page:65 (anonymous function) admin.php?page=easy-contact-forms-main-page:65 c load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-u…:3 p.fireWith load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-u…:3 x.extend.ready load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-u…:3 q load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-u…:3 event.returnValue is deprecated. Please use the standard event.preventDefault() instead.I thinks than the jquery load is correct, I have tried to load the last version of jquery on the header of admin, and then the fields from the form, dissapaired. This is the scripts what I have on the admin header:
<script type="text/javascript"> addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; var ajaxurl = '/wp-admin/admin-ajax.php', pagenow = 'toplevel_page_easy-contact-forms-main-page', typenow = '', adminpage = 'toplevel_page_easy-contact-forms-main-page', thousandsSeparator = '.', decimalPoint = ',', isRtl = 0; </script> <link rel="stylesheet" href="www.domain.com/wp-admin/load-styles.php?c=1&dir=ltr&load=admin-bar,wp-admin,buttons,wp-auth-check&ver=3.7.1" type="text/css" media="all"> <link rel="stylesheet" id="thickbox-css" href="www.domain.com/wp-includes/js/thickbox/thickbox.css?ver=20121105" type="text/css" media="all"> <link rel="stylesheet" id="custom_meta_css-css" href="www.domain.com/wp-content/themes/boldy/admin/shortcodes/shortcodes.css?ver=3.7.1" type="text/css" media="all"> <link rel="stylesheet" id="colors-css" href="www.domain.com/wp-admin/css/colors-fresh.min.css?ver=3.7.1" type="text/css" media="all"> <!--[if lte IE 7]> <link rel='stylesheet' id='ie-css' href='www.domain.com/wp-admin/css/ie.min.css?ver=3.7.1' type='text/css' media='all' /> <![endif]--> <link rel="stylesheet" id="ai1ec-admin-css" href="www.domain.com/wp-content/plugins/all-in-one-event-calendar/app/view/admin/css/admin.css?ver=1.10.9-standard" type="text/css" media="all"> <script type="text/javascript"> /* <![CDATA[ */ var userSettings = {"url":"\/","uid":"1","time":"1386931606"};/* ]]> */ </script><style type="text/css"></style> <script type="text/javascript" src="www.domain.com/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,utils&ver=3.7.1"></script> <script type="text/javascript" src="www.domain.com/wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/require.js?ver=1.10.9-standard" data-main="www.domain.com/wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/main.js"></script> <script type="text/javascript" src="www.domain.com/wp-content/themes/boldy/admin/js/site5mediauploader.js?ver=3.7.1"></script> <script type="text/javascript"> /** * jClop */ jQuery(document).ready(function($) { $(function(){ $('#cropbox').Jcrop({ minSize: [ 960, 420], maxSize: [ 960, 420 ], allowResize: true, setSelect:[ , , , ], onSelect: updateCoords }); }); function updateCoords(c) { $('#x').val(c.x); $('#y').val(c.y); $('#x2').val(c.x2); $('#y2').val(c.y2); $('#w').val(c.w); $('#h').val(c.h); }; }); </script> <script> function aioseop_show_pointer( handle, value ) { if ( typeof( jQuery ) != 'undefined' ) { var p_edge = 'bottom'; var p_align = 'center'; if ( typeof( jQuery( value.pointer_target ).pointer) != 'undefined' ) { if ( typeof( value.pointer_edge ) != 'undefined' ) p_edge = value.pointer_edge; if ( typeof( value.pointer_align ) != 'undefined' ) p_align = value.pointer_align; jQuery(value.pointer_target).pointer({ content : value.pointer_text, position: { edge: p_edge, align: p_align }, close : function() { jQuery.post( ajaxurl, { pointer: handle, action: 'dismiss-wp-pointer' }); } }).pointer('open'); } } } if ( typeof( jQuery ) != 'undefined' ) { jQuery(document).ready(function() { var admin_pointer; var admin_index; }); } </script> <script type="text/javascript" src="www.domain.com/wp-content/plugins/all-in-one-seo-pack/quickedit_functions.js"></script> <script type="text/javascript" src="www.domain.com/wp-includes/js/tw-sack.min.js?ver=1.6.1"></script> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="main" src="www.domain.com/wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/main.js?ver=1.10.1-standard"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="scripts/common_scripts/backend/common_backend" src="www.domain.com/wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/scripts/common_scripts/backend/common_backend.js?ver=1.10.1-standard"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="jquery" src="www.domain.com/wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/require_jquery.js?ver=1.10.1-standard"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="jquery_lib" src="www.domain.com/wp-content/plugins/all-in-one-event-calendar/app/view/admin/js/jquery_lib.js?ver=1.10.1-standard"></script><link rel="stylesheet" href="www.domain.com/wp-content/plugins/easy-contact-forms/js/tinymce/themes/advanced/skins/default/ui.css?ver=3.7.1">I have change the domain to preserve the web privacy.
I hope anybody could help me, thanks very much for the answer,
and sorry again for my englsih.same problem for me. I can’t move any field individually. Is it bug or plugin future?
The problem lies in generating the call to Jcrop throughout the administration of wordpress , because one is called , but the libraries are not loaded , causing an error and stopping the loading of other script.
The solution , if you use “simple responsive slide” is to modify the load script . it searches for the plugin folder and open the file “simple -responsive -slider – admin.php ” seeks the following snippet of code ( line 10 -43 ) :
// Add script in <head> backend function load_script_admin() { $settings = get_option('simpleresponsiveslider_settings'); $coord = get_option('simpleresponsiveslider_crop'); ?> <script type="text/javascript"> /** * jClop */ jQuery(document).ready(function($) { $(function(){ $('#cropbox').Jcrop({ minSize: [ <?php echo $settings['max_width']?>, <?php echo $settings['min_height']?>], maxSize: [ <?php echo $settings['max_width']?>, <?php echo $settings['min_height']?> ], allowResize: true, setSelect:[ <?php echo $coord['x_'.$_GET['editor_image']];?>, <?php echo $coord['y_'.$_GET['editor_image']];?>, <?php echo $coord['x2_'.$_GET['editor_image']];?>, <?php echo $coord['y2_'.$_GET['editor_image']];?> ], onSelect: updateCoords }); }); function updateCoords(c) { $('#x').val(c.x); $('#y').val(c.y); $('#x2').val(c.x2); $('#y2').val(c.y2); $('#w').val(c.w); $('#h').val(c.h); }; }); </script> <?php } add_action('admin_head', 'load_script_admin');Once located , I cut that entire file, and now in the ” classes” folder, look for the ” options.php ” file and go to line 73 to find the function ” scripts ( ) ” on 86 lina are calls to the script and css jcrop , just add the code below just cut the other file.
With this consegimos that only call plugin lanze when we really needed ( for the administration of the plugin and having the knowledge that there are dependencies) and not constantly causing errors in the administration and conflicts with other plugins.
I hope I ‘ve been helpful to someone. A greeting.
The topic ‘Cannot move any field’ is closed to new replies.