[support] Comments needing approval block

Steve Kessler skessler at denverdataman.com
Thu Jul 30 20:19:57 UTC 2009


Thank you very much. 

 

There does not appear to be published/unpublished toggle available in views.


 

Thanks,

Steve

 

Steve Kessler 

Denver DataMan 

303-587-4428 

Sign up for the <http://www.denverdataman.com/content/enewsletter-signup>
Denver DataMan Free eNewsletter

 

From: Neil Coghlan [mailto:neil at esl-lounge.com] 
Sent: Thursday, July 30, 2009 11:46 AM
To: support at drupal.org
Subject: Re: [support] Comments needing approval block

 

this is what I have in a block, alongside some other stats:

 

<b><span style="color:red;"><?php
$count_unpub_comm_tot = db_result(db_query("SELECT COUNT(cid) FROM
{comments} WHERE `status` = 1"));
echo $count_unpub_comm_tot;
?></span></b> <b>Un</b>published Comments

 

with Views, I imagine it would be even easier, no? Just use unpublished
filter. Preferred to roll my own though.

 

Neil

----- Original Message ----- 

From: Steve Kessler <mailto:skessler at denverdataman.com>  

To: support at drupal.org 

Sent: Thursday, July 30, 2009 2:28 PM

Subject: [support] Comments needing approval block

 

I am trying to create a block of comments that need approval. I have tried
many iterations of ways to do this and I cannot figure it out. I would like
to do this with views.  If anyone can give me a suggestion I would
appreciate it.

 

Thanks,

Steve

 

Steve Kessler 

Denver DataMan 

303-587-4428 

Sign up for the <http://www.denverdataman.com/content/enewsletter-signup>
Denver DataMan Free eNewsletter

 


  _____  


--
[ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/a0fd1765/attachment.htm>


More information about the support mailing list