drupal

Drupal Topics

Drupal theming approach

อ่าน drupal.in.th/node/2309 แล้วเกิดอยากเขียนบล็อกขึ้นมา เพราะเท่าที่ติดตามดู หลายๆอย่างใน Drupal กำลังเปลี่ยนไปในทางที่ดีขึ้น รวมถึงแนวทางการทำธีมที่สะดวกมากขึ้นด้วย ยกตัวอย่างเท่าที่นึกออกตอนนี้ และเกี่ยวกับกระทู้ที่อ้างถึงด้านบน ก็เช่น

ถ้าต้องการปลดปล่อยตัวเองจาก block regions ใน drupal ก็ต้องลองเล่น panels + skinr + views เหมาะสำหรับเว็บไซต์ที่ต้องการเลย์เอาต์ซับซ้อน(มากๆ) เราไม่ต้องเซ็ต block regions ไว้ในธีมเลยก็ได้ แต่ override ใน panels-*-.tpl.php , views-*-.tpl.php แล้วก็กำหนด css style ผ่านทาง skinr

Webzer's Studio Revival

Finally, I can launch my new demo sites for Drupal contrib. themes after a long period of idleness.

Let's visit my studio or go to Beach, Colourise and Strange Little Town.

All these demo sites are on the same code base (with symlinks) and same database (find it out there: a more secure drupal [multisite] install). But each site still need their own caches and variable settings ($db_prefix array) because they're using different themes. That's one of Drupal's magic which helpful for launching multi-sites with less resource and time consuming (but my laziness is a big burden!).

Webzer.net and my Drupal demo was currently hosted by WebFaction which reliable and full of new tools (and toys) for curious web learners (like me) such as Rails, Django, SVN and other open source software installers (of course, you can find Drupal and other popular CMS too).

Yeah... you can tell them Sungsit loves their service.

จากเอียงขวา มาชิดซ้าย

ไม่ได้มีนัยยะทางการเมืองแต่อย่างใด (แม้จะเปลี่ยนธีมในวันชาติ - 24 มิถุนายน) แค่ทดสอบธีมใหม่ที่ปล่อยให้มันเอียงซ้ายไปตามธรรมชาติของบราวเซอร์ (อันเดิมบังคับให้มันเบียดขวา) และยังคงไร้สีสันเช่นเดิม ไม่ได้ทะเลาะเบาะแว้งกับ CSS แต่เพราะยังเลือก color scheme ไม่ได้ เว็บไซต์โทน ขาว-ดำ อาจดูจองหองเกินไป สำหรับผู้ใช้เว็บทั่วไปที่ชินกับสีของลิ้งค์ที่แตกต่าง แล้วค่อยเปลี่ยนสีสันให้มันทีหลัง ตอนนี้แค่ทดลองหา baseline สำหรับ drupal theme (อีกหน) เลยยังไม่อยากใส่สีอะไรลงไปให้เคืองตา (ตัวเอง) และรู้สึกหงุดหงิดกับการเรนเดอร์ธีมของ drupal อย่างที่ไม่เคยรู้สึกมาก่อน มันมีข้อดีมากกว่าข้อเสีย แต่บางครั้งเราก็ไม่ได้ต้องการแบบเดิมเสมอไป ในที่สุดก็ต้องแฮ็ค!

webzer อ่านว่า เว็บเซ่อ (ก็ได้ครับ)

ช่วงนี้กำลังปรับปรุง webzer ขนานใหญ่ (มั้ง) เพื่อให้หน้าตามัน รับแขก มากกว่าที่เป็นอยู่ ตอนแรกตั้งใจว่าจะเปลี่ยนธีมใหม่เฉยๆ แต่ที่ทำค้างไว้ หน้าตามันก็ยังไม่รับแขกอยู่ดี ลองดูที่ twitpic.com/624nx (ก็คนมันชอบอะไรเรียบๆ น่ะ) แต่คิดไปคิดมา มันไม่ใช่แค่หน้าตาที่ไม่ง้อชาวบ้านเท่านั้น เนื้อหาและรูปแบบของบล็อกแห่งนี้ ยังสะเปะสะปะไม่น้อยหน้าใครอีกด้วย

Misaligned Theme Test

webzer misalignment

เกิดอาการเบื่อ Grid คล้ายๆคนเป็นโรคจิต เลยแงะ Beach Theme ออกมาปั่นป่วนให้มันเละเทะ โครงสร้างธีม 80% เหมือนเดิม เปลี่ยนแค่ CSS กับ กราฟิค (ถ้าอยากดู จงเลือก Misalign Test จาก Theme switch เพื่อดูอาการป่วยของ เว็บเซ่อ!)

Beach Theme Vector Artworks

Drupal Thailand Logo

When original design was contributed, I think we should provide its original graphic sources to encourage other creativities, too. Variety of styles can derive from the same structure so you can style your own Drupal Beach as the way you wish.

With attached .SVG files (Scalable Vector Graphics) below, anyone who knows vector graphics editors could adjust / edit (even delete!) the source file. Let's tweak your creativity...

Theme

Twitter Update

Restless Engine

Powered by Drupal, an open source content management system

Back to content. RSS