is there a way to add this to all blog posts without actually having to put the snippet in each post? I want my authors to only worry about content. not snippets needing to be added.
Of course, here it is.
Mitch, could you share your badwords list?
viagra,adobe,href=,[URL,buy
$sql = "SHOW TABLES LIKE 'mytable'"; $rs = $modx->db->query($sql); $count = $modx->db->getRecordCount($rs);
There is a problem with publishing comments in Beta 4. When I publish a comment all custom fields are deleted.
I changed in data.db.class.inc.php line 60
$this->custom = new CJotFields($row["customfields"],"");
into
$this->custom = new CJotFields($this->fields["customfields"],"");
and now it works.
Error type/ Nr.: Warning - 2 File: /.../assets/snippets/jot/custom.class.inc.php Line: 44 Line 44 source: foreach($this->nodes as $n=>$v) { $xml[] = "<".$n.">".htmlspecialchars($v)."</".$n.">";}
if(is_array($this->nodes)) { foreach($this->nodes as $n=>$v) { $xml[] = "<".$n.">".htmlspecialchars($v)."</".$n.">";} }
Only thing that worries me is what happens when a newer version get released, as there isn’t separate language files.
Now I’ll try to find out how to get comments count into Ditto, then I’m done.
This discussion is closed to further replies. Keep calm and carry on.