Almost everything I ever thought of has been done in Drupal by someone else - it's a beautiful thing. But there have been a few things I've imagined would be really useful that I couldn't find anywhere...
I'd consider writing these myself one day, if time ever permits...
This module would define a new CCK date type (using Date API) to define an expiry date for a node. The node owner would get an e-mail reminding them that their node was about to expire, and if no action was taken, the node would simply be removed. This would be very handy for announcements and to create a CCK classified ads module. Code could largely be ripped from ed_classified module.
This module would look for an image in a specific directory with a name "similar" to the node title. If a suitable image is found, then replace the node title with the image. Use hook_node_?
DONE: But code in template.php - need to move it to a custom module.
This small module uses a hook_form_alter to create per-role access rights to elements of the Publishing Options fieldset on the node-edit form. This would allow admin to grant rights to user-roles to, for example, promote to front page.
I have already made a good start on this module and will look to contributing it.
A View with an argument creates a "summary view" when the argument is missing. The default summary view is simply a list of potentail argument values, linked to their repsepective view "pages". I could only find one example of a customized summary view (Example: How to Display a Summary View as a Mock Menu | drupal.org ). I used this to create the "pop-open" menus when browsing the photo gallery, for example.
I heard a rumour that Views Theming is going to get MUCH easier in Drupal 6, so this may be a wait-and-see.
But there are some other summary views I'd find a great use for:
Module attached below - install as-per-usual.
This small module uses a hook_form_alter to create per-role access rights to all 4 elements of the Publishing Options fieldset on the node-edit form. This would allow admin to grant rights to user-roles to, for example, promote to front page.
I have already made a good start on this module and will look to contributing it.
I have contacted RobRoy, author of a similar module: http://drupal.org/project/override_node_options
about integrating these two similar modules.
Attachment | Size |
---|---|
publish_access.zip | 7.73 KB |