Data Browser truncates out Timeline profile id #s that i need
Using Jamroom
got some code, can I install it into your system? Will add it via the Template Editor at:
ACP -> SKINS -> (your current skin) -> TEMPLATES -> index_activity.tpl -> MODIFY
The code needs to go into 3 locations in that template to add the delete buton.
The code is:
{if jrUser_is_admin() && !jrProfile_is_profile_view()}
<a onclick="xxDeleteEntry('{$item._item_id}');">{jrCore_icon icon="trash" size=30}</a>
{/if}Then one location to put this, and at the bottom of that page:
<script>
function xxDeleteEntry(id) {
if (confirm('Are you sure you want to Delete this timeline entry?')) {
var url = core_system_url + '/' + jrAction_url + '/browser_item_delete/id=' + id + '/__ajax=1';
jrCore_set_csrf_cookie(url);
$.get(url, function (r)
{
$('#a' + id).fadeOut();
});
}
}
</script>
--edit--
Updated the code to a better system. The entries will delete and disappear when you click the delete button, but you'll still need to use the cache refresh tool to clear the caches once you've done pruning.
updated by @michael: 09/15/16 08:07:28PM


