You are here:  » Click on Automation Tool page

Support Forum



Click on Automation Tool page

Submitted by henk on Mon, 2013-03-18 20:26 in

Hi David,

Is it possible to have the total clicks on automation tool page,

Or

is it possible to have on the admin page after:

Register Filters Import

The

Edit Run Delete

links

Thx
Henk

Submitted by support on Tue, 2013-03-19 10:05

Hello Henk,

Sure - in admin/automation_tool.php look for the following code at line 32:

  print "<th>Status</th>";

...and REPLACE with:

  print "<th>Status</th>";
  print "<th>Clicks</th>";
  $sql2 = "SELECT filename,clicks FROM `".$config_databaseTablePrefix."feeds`";
  database_querySelect($sql2,$rows2);
  $clicks = array();
  foreach($rows2 as $row2)
  {
    $clicks[$row2["filename"]] = $row2["clicks"];
  }

And then the following code at line 50:

  print "</tr>";

...and REPLACE with:

  print "<td>".$clicks[$job["filename"]]."</td>";
  print "</tr>";

Cheers,
David.
--
PriceTapestry.com