Quote:
Originally Posted by yotsume
Hi,
Nice start of a hack... It's off to a good start... that fact that you have to exclude categories for this to work is a super glitch in my book because I don't want any of my categories excluded!!!
So what I did to fix this is put a fake category number in and poof it works perfect! So if you have the problem with this error:
Unknown column 'xxx' in 'where clause'
Just put in: $cat_exclusions = '1,2' (line 11 in my file)
Then the module will work without that error and all categories will show comments.
This module looks pure ugly in my side columns in my CMPS. I have to have it in my center. I am working out how to set this up in a column that will not look pure ugly. I will post screen shots and how to do with clear instructions once I get it worked out.
|
Yep or it could be that I wanted to exclude cats from showing

If you dont want to exclude anything just remove
Code:
$cat_exclusions = 'xxx,xxx';
from about line 10 and change
Code:
WHERE cat NOT IN ($cat_exclusions) AND comment != ''
to
Code:
WHERE comment != ''
But if you want to put false cat numbers in to fix a non existent problem go right ahead
Oh and as it looks pure ugly you probably wont want to use it so if thats the case you may want to release one you code so others can come and say to you
"Hey this is crap looks rubbish is not finished but i will use it anyway"