Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #8248

      Creating 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=1

      Attachments:
      You must be logged in to view attached files.
    • #8259

      I 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&#8221; 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.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.