bobbysmith007
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-DB-Table-Editor] Bit more documentation possible?Thanks for the kind words. I am not being notified of new support tickets so I missed this last week (working on this).
I will try to add a bit more documentation where needed, but fundamentally php is going to be required for using this plugin. Not a huge amount of php, but enough to correctly create an array of arguments and call a single function.
From the docs, this sort of thing can be added anywhere in the functions file, though towards the top will ensure it is available for things later in the functions file.
// This just checks the plugin is enabled so that we // dont error calling somthing that doesnt exist if(function_exists('add_db_table_editor')){ // this calls the function creating the interface and // opens the args array add_db_table_editor(array( // Each thing here will be: // "option-name" => "a value", // "option-name" => $a_value_in_a_var 'title'=>'Event Registrations', 'table'=>'event_registrations', 'sql'=>'SELECT * FROM event_registrations ORDER BY date_entered DESC' // Any of the options listed in the docs can be included here. )); }
Forum: Plugins
In reply to: [WP-DB-Table-Editor] Table seems to have lockedSorry for the delay here… I am getting github notifications, but none from wordpress :/ I will try to get that resolved so that I notice when people publish here.
Based on the comment thread, this was fixed in git hub issues:
https://github.com/AccelerationNet/wp-db-table-editor/issues/2
https://github.com/AccelerationNet/wp-db-table-editor/issues/3Forum: Plugins
In reply to: [Contact Form 7] WCF7 load via AJAXOr :
do_shortcode('[contact-form-7 id="15" title="RequestRemoval"]')
Forum: Plugins
In reply to: [Contact Form 7] WCF7 load via AJAXwpcf7_contact_form_tag_func(Array("id"=>"1", "title"=>"Some Form"), null, "contact-form-7")
Forum: Plugins
In reply to: [Contact Form 7] Using contact-form-7 from adminYou will also need these for js/css:
add_action( 'admin_enqueue_scripts', 'wpcf7_enqueue_scripts' ); add_action( 'admin_enqueue_scripts', 'wpcf7_enqueue_styles' ); add_action( 'admin_enqueue_scripts', 'wpcf7_html5_fallback', 11 );
Forum: Plugins
In reply to: [Contact Form 7] Using contact-form-7 from adminForum: Plugins
In reply to: [Contact Form 7] WCF7 load via AJAXYou can call
do_shortcode
to execute the shortcode directly, or looking in the includes/controller.php you can see that the shortcode callswpcf7_contact_form_tag_func($atts_array)
function and you can call that.both of these require that includes/controller.php has been execute by the time plugins are loaded.
Hope this helps
Forum: Plugins
In reply to: [WP-DB-Table-Editor] Doesn't workGoing to go ahead and mark as resolved so as not to give people the wrong impression with “doesnt work”. If you have any more info on how you misconfigured it or what you did to resolve your initial problem it might help others.
Forum: Plugins
In reply to: [WP-DB-Table-Editor] Doesn't workI have a published a new version that includes a shortcode
[dbte id=table-name-or-id]
that will put the interface on the including page.Forum: Plugins
In reply to: [WP-DB-Table-Editor] Doesn't workSorry you are having issues.
I have not needed the ability to put this on a wordpress page, but I don’t think it would be difficult at all to create a shortcode that does this. I will try to add this as a new feature and post an update.