Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I just got our drupal config working with a role-based home page.
This really isn't hard, but getting it all tuned and working correctly took a bit of time. I think you would take my ideas and easily adapt them to more sophisticated uses.
Role Based home page
What I'm doing here is just using a static page as a home page. You'll need to flag the static page as "Promoted to front page" and "static on front page". Also, it will look better if you change the default story publishing prefs to make all other content not be promoted to the front page by default. While someone could override this, as long as you have control over the content creators, it works well enough. You could certainly hack node.module to do a more clean implementation.
here's a question i've been pondering for awhile, and haven't really found a solution that satisfies me, so i thought i'd share, and see what others think. ;)
what i'm trying to do seems relatively simple- i have a custom node module much like story.module, that's called 'article'. the article module implements a _block() hook that makes available a block that selects the vocabulary associated with the article node type, and prints a list of the terms therein.
this is all well and good, but by default (once i enable the block) this block is only really useful (to me) on pages related to articles. so for instance, i probably want the block to show up on pages with urls like:
or, what's more, i really dont want the article topics block to show up on any urls matching 'node/view/nid' or 'node/edit/nid' unless the nid in question is of type article. but how do i make it disappear only on these pages?
Does anyone have the Checkmail module working with Drupal v. 4.3.2? I tried installing it, but it does not show up in the list of configurable modules on my system.
This module would fit my needs perfectly if it were modified to allow role-based access via Drupal Permissions settings. I think it would also significantly improve the applicability of the module by enabling quasi-customizable (role/permission-based ) menus. For example, in my case it would allow me to present a webmail access link only to certain members of my community to whom I have assigned username@mydomain.com email addresses. Jim, any chance of seeing this modification?
A simple question, I'm sure...But I am confused about which file upload/download/view module to use. I have seen filestore module, file module, and the fs module as projects.
My requirements are to be able to upload a file to either the file system, with the metadata being stored in the database and/or upload a file and its metadata to the database. After the file is available on the server, then I would like a user to have the option to either download or view the file.