Tagged: google tasks
- This topic has 1 reply, 1 voice, and was last updated 4 years, 8 months ago by
Fernando Lourenço.
-
AuthorPosts
-
-
May 22, 2017 at 7:24 pm #8248
Fernando LourençoMemberCreating a task system with the piklist is very easy. An ad field and a check box would solve the problem.
But I would like to integrate google tasks to be viewed in the wordpress panel.
The direct url is easy to insert into favorites, but I would like to bring all the information inside the same window. I would like to have control of the information within the site environment (admin).
I did an illustration of how I would like it.
I searched for a plugin but did not find it.
Can anyone tell me how I can do this with the piklist?
The direct url is:
https://mail.google.com/tasks/ig?pli=1Attachments:
You must be logged in to view attached files. -
May 24, 2017 at 11:00 am #8259
Fernando LourençoMemberI got it by editing and inserting the following code at the end of the wp-admin / includes / dashboard.php file
The biggest problem is that secure addresses (https) can not be viewed through an iframe.
Still I would like to include the code in \parts\dashboard. Still unsuccessful.// Create the function to output the contents of our Dashboard Widget
function iframe_dashboard_widget_function() {
// Display whatever it is you want to show
echo ‘<iframe src=”http://piklist.com” width=”100%” height=”300″ frameBorder=”0″>Browser not compatible.</iframe>’;
}// Create the function use in the action hook
function example_add_dashboard_widgets() {
wp_add_dashboard_widget(‘iframe_dashboard_widget’, ‘Iframe Dashboard Widget’, ‘iframe_dashboard_widget_function’);
}// Hook into the ‘wp_dashboard_setup’ action to register our other functions
add_action(‘wp_dashboard_setup’, ‘example_add_dashboard_widgets’ );Attachments:
You must be logged in to view attached files.
-
-
AuthorPosts
- You must be logged in to reply to this topic.