Needs review
Project:
Create Content Block
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2008 at 01:54 UTC
Updated:
6 Mar 2011 at 11:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
zhte commentedSubscribe.
Comment #2
Bèr Kessels commented@zhte please do not subscribe for the sake of getting mails. http://www.webschuur.com/publications/blogs/2008-09-14-help_your_drupal_...
Since I am in need of this module in 6, I will post some patches tonight.
However, I do not need this in the context of OG. So please chip in and test the patches on d6 with og, since I will not be testing any of that.
That being said: how about making a new version that is OG-unaware?
Meaning: rip out all og stuff and make it a module dedicated at providing an alternative for node/add. Possible with a hook to allow other modules such as og_node_add_alternate.module to hook in and modify the node/add to their wishes?
Should I include that in a d6 version? Or should I best just get a rough port out and open new issues with changes?
Comment #3
Bèr Kessels commentedignore the above. This module is far too incompatible with my needs and I will therefore for this into an og-unaware module. porting to D6 has no benefit for me without a complete refactoring. I will threfore not present a patch for a D6 version here.
Comment #4
stella commentedHere's a Drupal 6 version of the module.
To be honest, I haven't tested it with organic groups module enabled, but it should work. However, I did add another block which, instead of displaying the content types in a drop-down, provides a link to the node add page for each. There's also an optional link for the 'content management' page, should the user have the appropriate permissions.
Cheers,
Stella
Comment #5
bomarmonk commentedThis works for me so far. Any chance of an official commit?
Comment #6
netdreamer commentedStella, I really appreciate your work but I found something wrong and provided a patch.
I fixed only your block (the "list", not the dropdown box):
I think that also the dropdown box need some work, but I don't use it.
I tested it only with url rewriting... but it seems completely wrong.
It tries to send the form to "/node/" when trying to create a new node instead of calling "/node/story/add?gid[]="
I think it's senseless... (or I don't know that it's just another way of creating a node in a group... but it's not working for me at all... )
Comment #7
drupalina commentedsubscribing
Comment #8
waltf commentedhi, i was searching for a way to get the exact node/add page in a block.
The list is great (thank u for that!) but i can't filter it with the menu like the node/add page,
and i can't get the discription to show with the solution posted above.
Any ideas?
Comment #9
magpie5212 commentedsubscribe
Comment #10
dnotes commentedSo, I really hope this post doesn't offend anyone. I started testing out this module with the d6 patches, but I needed a few changes, then a few more, and I ended up re-writing it using a bunch of stuff from Open Atrium. I did this for my own personal use, and I'm only posting it here in case someone might find it useful. It's up at https://github.com/dnotes/createcontentblock.
Hope this module gets more love someday, because it's a great idea and I'd love to support it.
Comment #11
leahmd commentedI just tested dnotes module, very nice! I had to disable the js for the block config as it wasn't working in my setup, but it's just what I needed, thank you!