Considered feature-complete by its maintainers.

Menu Position Date Plugin

This is a plugin for the Menu Position module. It adds a rule to compare an item based on its date. More explicitly consider the scenario:

  • You have a content type, like "Seminar"
  • The Seminars have a date field determining the seminar's duration. You need the Date module for this field
  • So each seminar has a start and an end date
  • If the start date of the seminar is > now then the seminar should be added to the "Upcoming" menu, otherwise it should be added to the "Archived" menu.

I created this plugin be relying heavily on markwittens' Menu Position CCK plugin. Basically what the plugin will do, is that if you write anything in the Date Value box, it will go to compare the start date timestamp with the now timestamp. The name of the field and other settings have been hardcoded inside my plugin. You cannot use this plugin in your site unless you edit the code to your scenario. I am sharing this in case anyone else might require similar functionality but doesn't know how to do it. I have never written a module for drupal so I strongly recommend not to use this plugin for nothing more than experimenting with a date rule in your menus.

Wysiwyg Exclude Field

Wysiwyg exclude field adds control option on textarea's field type to
allow administrators to choose if the wysiwyg editor should appears on form.

Webform Encrypted Components

This provides a singular encrypted textfield webform component.

Hide Admin

Hiding admin user (user 1) from any other user. Works by substituting user 1 with user 0 when loaded by request of any user who is not user 1.

Search Thai

Integrates simple Thai handling with Drupal core search module.

การตั้งค่า

สำหรับ Drupal 7 เท่านั้น (ณ เวลานี้) คุณมี 2 ทางเลือก โดยใช้ Drush หรือ Drupal UI

Drush commands

  1. drush en search_thai -y
  2. drush search-reindex -y
  3. drush cron

Drupal UI

เปิดใช้งานเหมือน module ทั่วไป แล้วก็ ...

  1. ไปที่หน้าตั้งค่าการค้นหา /admin/config/search/settings
  2. ถ้าต้องการเปลี่ยน จำนวนตัวอักษรที่จะอินเด็กซ์ ก็ระบุที่นั่น ค่า default คือ 3
  3. ถ้า Simple Thai handling ยังไม่ได้ติ๊กไว้ ก็ติ๊กซะตรงนั้น
  4. Re-index เว็บไซต์ของคุณ
  5. รัน cron จนกว่าจะครบ 100%

ขัดข้องสงสัย?

Pages

Subscribe with RSS Subscribe to RSS - Maintenance fixes only