Archive - Oct 3, 2008

Date

[Drupal] Replace '(not verified)' to '(visitor)'

ปกติใน **Drupal** เวลาแสดงผลชื่อบุคคลทั่วไป ที่ไม่ได้เป็นสมาชิกเว็บ จะมีคำว่า '(not verified)' ต่อท้ายชื่อโดยอัตโนมัติ แต่ไม่ค่อยชอบเท่าไหร่ เห็นครั้งแรกยังงงๆ ไม่เข้าใจว่ามันสื่อถึงอะไร - -* เราสามารถเป็นคำอื่นได้ง่ายๆเพียง แก้ไขไฟล์ *comment.tpl.php* ของธีมที่ใช้งาน ค้นหา > <?php print $submitted); ?> แล้วแทนที่ด้วย > <?php print str_replace('(not verified)', '(visitor)', $submitted); ?> ที่มา - เห็นใน Drupal Forum แต่ลืมที่อยู่กระทู้ไปแล้ว - -*

Site Update 20081003

* upgrade to [Drupal 6.4](http://drupal.org/drupal-6.4) * change theme to [Acquia Mariana](http://drupal.org/project/acquia_marina) * change web host to [Open Free Host](http://www.openfreehost.com/) * support [Gravatar](http://gravatar.com) and [Google Custom Search Engine](http://www.google.com/coop/cse/)