วิธีการทำหน้า intro page ของ wordpress
วิธีการทำหน้า intro page ง่ายๆของ wordpress คือสร้างหน้า home.php แล้วไปโยนใส่ใน folder theme ถ้าอยากได้ header และ footer ด้วยให้ใช้คำสั่ง get header get footer ข้อมูลจาก...
View Articleวีธีย้าย Live Blog WordPress มาที่ Localhost
ขั้นตอนแรกให้สำรองไฟล์ข้อมูลทั้งหมดจาก Server มาที่ PC แล้วก็ Export ฐานข้อมูล ออกมาไว้ที่ PC เหมือนกันครับ จากนั้นก็เปิดไฟล์ ฐานข้อมูล Export มานั้นด้วยโปรแกรม Textediter เช่น Notepad++ ใช้คำสั่ง...
View ArticleYour PHP installation appears to be missing the MySQL extension which is require
I install WordPress in my host, I found This message “Your PHP installation appears to be missing the MySQL extension which is require” on install page. How to fix this problem. copy the “libmysql.dll”...
View ArticleRole in WordPress
Role in WordPress คือการกำหนดสิทธิ์ของสมาชิกของ WordPress โดยรูปแบบสิทธิ์ของสมาชิกบล็อกมีอยู่ด้วยกัน 5 รูปแบบ คือ Administrator สมาชิกรูปแบบนี้มีสิทธิ์ปรับเปลี่ยนทุกอย่างในบล็อกของเราได้ Editor...
View Articleแก้ปัญหา Fatal error: Maximum execution time
ถ้าเจอข้อความ error ว่า Fatal error: Maximum execution time ตามด้วยเวลา วิธีแก้มี 3 วิธี เลือกทำวิธีใดก็ได้ วิธีแรก แก้ที่ php.ini ตรงบรรทัดที่เขียนว่า “max_execution_time” ก็เพิ่มตัวเลขเข้าไป...
View Articleplugin wordpress เอาไว้ส่ง email หาสมาชิก
plugin wordpress เอาไว้ส่ง email หาสมาชิก http://wordpress.org/extend/plugins/email-users http://wordpress.org/extend/plugins/subscribe2
View ArticleDrupal Multisite Project
ยังเขียนไม่เสร็จนะครับ สิ่งที่ควรรู้ Drupal multisite Module Permissions Drupal multisite Setting up multi-site Drupal on Windows or Linux 10 Minute Multisite Install & Configuration Module...
View Articledrupal drupal drupal
หลังจากงมๆ กับ drupal 6 มาทั้งอาทิตย์ คืนนีลองเล่น drupal 7 พบว่าใช้ง่ายขึ้นและมีโครงสร้างที่คนทั่วไปเข้าใจได้ง่ายกว่า สรุป ถ้าคุณเป็น end user แต่อยากใช้ drupal ไปเวอชั่น 7 ถ้าคุณอยากเป็น developer...
View Articleวิธี Enabled Upload progress บน Drupal
ในส่วนของ Status report ของ drupal ถ้าขึ้นคำเตือนแบบด้านล่างนี้นะครับ “Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install...
View Articleวิธีทำ Theme Drupal 7
ช่วงนี้ผมกำลังหัดทำ Theme Drupal 7 ใช้เอง เพราะว่าหาแล้วไม่ตรงกับที่ต้องการ ก็เลยขอบันทึกไว้ เผื่อท่านใดอ่านแล้วอยากแลกเปลี่ยนความรู้กันก็ยินดีครับ ไฟล์ที่สำคัญของ Theme Drupal 7 info files...
View ArticleHow to display one image from multifield image on teaser
How to display one image from multifield image on drupal teaser view mode method 1 create field–field_image.tpl.php and save on your subtheme (edit name of your field) or create custom module function...
View ArticleHow to show the default value of image if the field is empty in Drupal views.
ใน Drupal 7 fields images เราสามารถเลือกได้ว่า ถ้า user ไม่ upload รูป จะให้ใช้รูปไหนแทน ซึ่งกรณีนี้จะทำให้รูปมาโผล่ที่หน้าของโหนดด้วย หากเราต้องการให้โชว์แค่ตรง thumbnail ที่หน้าแรกเท่านั้น...
View Articleวิธีแปล views บน drupal
วิธีแปล views ทั้ง page และ blog บน drupal ลงโมดูล i18nviews เพิ่ม ไปที่ Views ที่จะแปล set filter เลือก Content: Language add views filter configure filter จากนั้นไปที่การตั้งค่า Views เลือก...
View Articleวิธีแปล Block บน Drupal
ถ้าใครทำวิธีนี้ วิธีแปล views บน drupal ก็ไม่ต้องทำวิธีข้างล่างก็ได้นะครับ การแปล Block ที่ผมคิดไว้จะมีสองแบบ แบบแรกคือ สลับไปมาระหว่าง EN<—>TH แบบที่สองคือทำให้ Block นั้นหายไปเลย...
View Article
More Pages to Explore .....