Yeah...that whole interface thing

I usually have MODx on one screen and a DB gui called Sequel Pro (
http://www.sequelpro.com/) on my second monitor, so this is usable in its current state for me. However, I’m thinking it could be really useful for the community to have it available as a plugin that works with the manager. I think my plan at this point is not to invest any additional time into manager integration for Evo, but to possibly pick it up again after I’m more familiar with Revo (starting my first bigger project in it next week!). Speaking of which, when is your Revo book coming out? I’m dying to have a good Revo reference book.
Oh, and one last posting of the code. I added a second table column called "content_previous." When you hit save in a snippet, it takes what’s in the "content" column and moves it to "content_previous," and then puts the latest save into "content." Not very elegant, but it works!
if (!empty($id)) {
$sqlNewValue = $modx->db->query('SELECT snippet FROM `vid_site_snippets` WHERE id='.$id.'');
$resultArrayNewValue = $modx->db->makeArray( $sqlNewValue );
foreach($resultArrayNewValue as $item) {
$snippetCodeNew = addslashes($item['snippet']);
}
$sqlOldValue = $modx->db->query('SELECT content FROM `vid_rollback`');
$resultArrayOldValue = $modx->db->makeArray( $sqlOldValue );
foreach($resultArrayOldValue as $item) {
$snippetCodeOld = addslashes($item['content']);
}
$table = 'vid_rollback';
$fields = array(
'content' => $snippetCodeNew,
'content_previous' => $snippetCodeOld
);
$modx->db->delete(''.$table.'');
$modx->db->query('ALTER TABLE '.$table.' AUTO_INCREMENT = 1');
$modx->db->insert( $fields, $table);
}