User login

Intro to Drupal to a developer

Drupal is written in PHP. A lot of things (not everything) in Drupal is a "node". So from your perspective Drupal can handle the creation of content (as nodes) of any types and also the management of users logging in. Your module would create the ability for people to do something to content (a ratings module would be a good place to find an example of this), and also create user-specific pages listing the recommendations of people they subscribe to. I don't know of an example of how to extend users (to add "subscribe to this user" buttons) but I'm sure you (specifically you!) can do it.

Aside from figuring out how to write a Drupal module, and what hooks to use (Drupal is based on implementing "_hook" functions that tie into core functionality and can modify the behavior of other modules), the tricky part comes in how you want to interact with all the other modules available to Drupal. Should your module tell the userpoints module how to give users credit for doing whatever to content, for instance?

Anyhow, once you have a chance to do it, I'm sure you'll be able to build a module with OmniNews functionality in no time.

See http://drupal.org/contributors-guide
And especially the module developers guide:
http://drupal.org/node/508

Drupal is written in PHP. A lot of things (not everything) in Drupal is a "node". So from your perspective Drupal can handle the creation of content (as nodes) of any types and also the management of users logging in. Your module would create the ability for people to do something to content (a ratings module would be a good place to find an example of this), and also create user-specific pages listing the recommendations of people they subscribe to. I don't know of an example of how to extend users (to add "subscribe to this user" buttons) but I'm sure you (specifically you!) can do it.

Aside from figuring out how to write a Drupal module, and what hooks to use (Drupal is based on implementing "_hook" functions that tie into core functionality and can modify the behavior of other modules), the tricky part comes in how you want to interact with all the other modules available to Drupal. Should your module tell the userpoints module how to give users credit for doing whatever to content, for instance?

Anyhow, once you have a chance to do it, I'm sure you'll be able to build a module with OmniNews functionality in no time.

See http://drupal.org/contributors-guide
And especially the module developers guide:
http://drupal.org/node/508

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • 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> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.