开发者

Registration in Drupal Sites

I am making a drupal site and have a custom content type Event. I want user be abl开发者_如何学Goe to register themselves at the event page. For this there is a module namely Event Manager . But this module is not present Drupal 6.x release. Is there some other workaround of this?


The module way:

use following modules (still in development but it should do the trick)

event module

signup module

(this will create an event content type for you, don't forget to set the permissions)

Go to the content type edit screen (content type -> event -> edit)

Set the Signup configuration section default to enabled or installed.


Using your own content type:

In your node-event.tpl.php you can check if a teaser or the full node is loaded.

if($teaser){ /*here teaser code*/ }else{ /*here full node code*/ }

At the bottom of the full node code you can put a php form that inserts data in a custom table in the database and send a mail to an address. You can create your own module to retrieve the data then and show it in a page.


Another module way is to use the Date and possible Calendar modules instead of Event. Calendar is only needed if you need classic calendar view of your event. Date is stable, uses CCK and should be available for Drupal 7 soon after its release. Ensuring a smooth upgrade path for the future. The Signup module is compatible with Date and should provides the wanted feature.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜