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
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>";
print "<td>".$clicks[$job["filename"]]."</td>"; print "</tr>";
Cheers, David. -- PriceTapestry.com
©2006-2025 IAAI Software | Contact Us | Privacy Policy
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