Hello! Good day to you all.
Line 780 of file comment.module: Drupal 6
if ($edit['status'] == COMMENT_NOT_PUBLISHED) { drupal_set_message(t('Your comment has been queued for moderation by site administrators and will be published after approval.'));
How do I theme this message to change its out? Can't find anything on google.
Thanks!!
Seb.
Anything wrapped with the t() function can be changed a couple of ways. You can do it in your settings.php file (look at the bottom of the file for examples) or you can use the string overrides module:
http://drupal.org/project/stringoverrides/
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 7/6/2012 3:15 PM, sebastian wrote:
Hello! Good day to you all.
Line 780 of file comment.module: Drupal 6
if ($edit['status'] == COMMENT_NOT_PUBLISHED) { drupal_set_message(t('Your comment has been queued for moderation by site administrators and will be published after approval.'));
How do I theme this message to change its out? Can't find anything on google.
Thanks!!
Seb.
Hello Jamie,
Great that worked, thank you.
On 2012-07-06 12:29 PM, Jamie Holly wrote:
Anything wrapped with the t() function can be changed a couple of ways. You can do it in your settings.php file (look at the bottom of the file for examples) or you can use the string overrides module:
http://drupal.org/project/stringoverrides/
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 7/6/2012 3:15 PM, sebastian wrote:
Hello! Good day to you all.
Line 780 of file comment.module: Drupal 6
if ($edit['status'] == COMMENT_NOT_PUBLISHED) { drupal_set_message(t('Your comment has been queued for moderation by site administrators and will be published after approval.'));
How do I theme this message to change its out? Can't find anything on google.
Thanks!!
Seb.