Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Drupal 6 Module Development
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Drupal 6 Module Development

Learning Drupal 6 Module Development

4.3 (16)
close
close
Learning Drupal 6 Module Development

Learning Drupal 6 Module Development

4.3 (16)

Overview of this book

Table of Contents (14 chapters)
close
close
Learning Drupal 6 Module Development
Credits
About the Author
About the Reviewers
Preface

The sitenews Module


In this chapter, we will build a module that handles sending an email message containing site news to users of the system. The module will send an email message about the latest content and features on our site. The message will be made up of the following components:

  • The introduction: An administrator will compose a message that will be placed at the top of the site news message. This message, which we will call a news brief provides a way of tailoring a message to the system's users. We will also make this content available on the website.

  • Zero or more update sections: While the news brief will provide an introduction to the newsletter, these sections will consist of automatically generated messages. Modules will be able to define their own sections. We will use the hook mechanism to define a hook that modules can implement.

In a nutshell, then, every site news email that goes out will have exactly one news brief item, and zero or more other sections generated automatically...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Drupal 6 Module Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon