Hi all,

I am using Drupal for a few low traffic sites. I am working on a new site idea that will (hopefully) be higher traffic. Here are the main requirements.

  • [OK] Subscribe to daily email to visit the site for the daily reading and journaling.
  • [OK] Printer friendly version.
  • [OK] Email a journal entry.
  • [MAYBE] Journal entry should be a custom type, not just a user blog. There are four fields that draw the information from the user from which the journal entry is built.
  • [MAYBE] Must be able to mark an entry private or public.

The ones marked [OK] I am pretty sure I can take of. The [MAYBE]'s are what have me scratching my head.

For a custom journal entry type, I think CCK will let me create my own. Is this better than Flexinode? They seem similar in function, but is one possibly better than the other for this scenario?

To mark it public or private, must I use organic groups? I don't see how I could do this without creating an OG for each user.

Thanks in advance for any advice and pointers in the right direction!

Tony
tony at gettig dot net

Comments

styro’s picture

# [MAYBE] Journal entry should be a custom type, not just a user blog. There are four fields that draw the information from the user from which the journal entry is built.

If the fields need to be entered by the user for each node, use the CCK or flexinode modules to create a new node type with those fields.

If the fields are pulled from their user profile, then just use standard blog node types and make a new node-blog.tpl.php template in your (PHPTemplate) theme that prints out these fields where you want em. More info on this in the theme handbook.

# [MAYBE] Must be able to mark an entry private or public.

You basically need a node specific access control module for this, but the tricky bit is I assume you only want the 'owner' of a node to be able to change this setting rather than a role. Although I'm not entirely up to date I don't recall and node based access control modules that give the creator special privileges. You might need to have a closer look through the modules list.

It's a relatively easy job for by role stuff though.

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ

Anthony Gettig’s picture

You basically need a node specific access control module for this, but the tricky bit is I assume you only want the 'owner' of a node to be able to change this setting rather than a role.

Yes, I think that is what I need. With OG, I know one can mark something Public rather than only for a group. But that would mean creating a private group for each user (if I'm thinking about this right, which I may not be. :)

Yeah, node based access control settable only by the owner of the node, not a role. That sounds about right.

Looking at the modules list, maybe nodeaccess, Node Access Arbitrator, and maybe node privacy byrole might work for this?