2009-09-10 form to email 2分鐘完成

近來因為真的因為太多案子
這邊很久有update 了

又因為真的太多案子
古怪, 快速, 而又欠缺美感的想法, 一直被我無情的實現了

要求:
表單轉成email

解說:
signup module 不夠欄位, 功能不足
修改又花時間
非 Drupal, framework 的方案又不夠快, 不夠髒
反正沒有要求 email 的整潔程度.......

cck + rules 一口氣完成
cck 定義所需的 fields,
rules 設定新的 node submit 便 send email
再用 token 在 email 的內容做手腳, 將 submit 的 node 連fields 都輸出
設定真的只用了 2分鐘!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <h4> <h3>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options