Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would it be possible to limit a user to being able to create only one node of a designated type per taxonomy term?
Comment | File | Size | Author |
---|---|---|---|
#14 | node_limit_term.patch | 7.44 KB | Docc |
Comments
Comment #1
davedelong CreditAttribution: davedelong commentedYep, that'll be possible. It'll require a different submodule, but the capability is there.
Comment #2
davedg629 CreditAttribution: davedg629 commentedI would be interested in this feature too.
Comment #3
davedelong CreditAttribution: davedelong commentedConsider it on the list of things to add, after organic groups, time intervals, and time frames (each one takes me about 2 days if I'm familiar with the other system).
Dave
Comment #4
Dries ArnoldsThis would indeed be very welcome.
It would also allow people to restrict the number of forum topics in certain subforums, since the forum module uses taxonomy for it's structure.
Comment #5
rbl CreditAttribution: rbl commentedAny news on this?
Thanks in advance!!
Ricardo
Comment #6
davedelong CreditAttribution: davedelong commentedYeah, sorry, I've been totally swamped with other stuff. Is anyone interested in co-maintaining this with me?
Dave
Comment #7
MrVee CreditAttribution: MrVee commentedI am really interested in this feature too. Any update on this yet?
Comment #8
mansspams CreditAttribution: mansspams commented+1 for this one
Comment #9
nikitas CreditAttribution: nikitas commentedit would be very helpful indeed!
Comment #10
DuaelFrIt might be an interresting functionnality.
When the other stuff will be ready I will look at this.
Comment #11
Waen CreditAttribution: Waen commented+1, would be a very very usefull and interesting feature!
Comment #12
Docc CreditAttribution: Docc commentedIll give it a shot as ill be needing this functionality
Comment #13
DuaelFrWonderful ! We are waiting for your patch ! :)
Comment #14
Docc CreditAttribution: Docc commentedk first try. Workday is over so ill pick it up tomorrow :)
Did not test the node validation yet but the admin part is there (its a autocomplete field btw, needs additional validations though)
Comment #15
mgladding CreditAttribution: mgladding commentedI'm hoping to test this out over the next couple of days. Any word on how it's working for anyone else?
Thanks!!
Comment #16
mgladding CreditAttribution: mgladding commentedOne observation while testing out the term patch. When I try to create a node limit and check the "term" option and enter a term, the form does not save the term. If I edit the node limit, the term field is empty. The node limit saves - just with no term input.
Comment #17
DuaelFrI tried to fix this module this morning but it is not as simple as I expected to with Drupal 7. I have some other things to do then I will try to solve the different issues I pointed. I hope this won't be too late...
Comment #18
mgladding CreditAttribution: mgladding commentedI just want to say "thanks". I am only a designer and rely heavily on the help of talented and committed Drupal developers.
I am in a hurry with my current project, but I may have found a work around. I'm excited to see how this feature work out!
Comment #19
Kiorrik CreditAttribution: Kiorrik commentedInteresting. Sub.
Comment #20
Liliplanet CreditAttribution: Liliplanet commentedthat would be wonderful DuaelFR if you were available to complete the patch, and thank you :)
Comment #21
Kiorrik CreditAttribution: Kiorrik commentedAny progress at all?
Comment #22
DuaelFrNot yet, sorry.
The good news is that the taxonomy_index table is back so it will be easier than expected.
I hope to have time soon.
Comment #23
Lennart5 CreditAttribution: Lennart5 commentedAny updates on this yet? Would love it!
Comment #24
DuaelFrNot yet.
If some have more time than me, patches are welcome.
Comment #25
AncientSwordRage CreditAttribution: AncientSwordRage commentedAny updates? This is exactly what I need!
Comment #26
drummondf CreditAttribution: drummondf commentedUPDATE
I was able to use https://www.drupal.org/project/unique_field to create this functionality
This allows you to perform an AND function and use multiple fields as unique identifiers to prevent duplicate content from being created, including Author as a parameter.
Cheers!
Comment #27
abarpetia CreditAttribution: abarpetia commentedAgree with @drummondf. Unique field module is workaround to create only one node with designated taxonomy term value.
@DuaelFr, not sure whether you still like to have this feature but if yes, then am happy to work on patch.
Comment #28
DuaelFrHi @abarpetia, to be honest I'm not really maintaining this module anymore. Some people came to me for co-maintainership but it seems they does not have mutch time either. I still think that the module needs a complete rewrite but if you want to work on a patch you're still very welcome. The best contributions we can do are the ones that we need for some project ;)