I am trying to limit a single content type to only allow one node to be created per user. I have found several modules that look like they will do the job for example:
Go to Drupal installation folder and following core lib file.
core\lib\Drupal\Core\Datetime\Element\Datetime.php
On line 103 make necessary changes to look like this.
$date = isset($element['#default_value']) ? $element['#default_value'] : null;
if ($date !=null && $date instanceof DrupalDateTime && !$date->hasErrors()) {
I've got a project that requires classifying each node as representative of a specific country. I'm not quite sure I can appreciate the distinction between creating a taxonomy (and having 200 countries entered manually) or using the module (which separates countries by continent for a hierarchical list.) I can then enter a field in CCK of which there is a "country" type stored in the database. What I need most is to have the ability to use the field in a faceted search to drill down to find nodes/documents that are associated with a specific country.
I have created a workflow with different states and access rights.
The states are: (created) - saved - waiting - online - offline
Possible flows
saved -> saved : Label: save
saved -> waiting: Label: create
.....
If I create a node I see the following buttons save create preview delete
When I push the save button it stayes in the state saved. As aspected
But when I push the create button it also stayes in the state save.But it should go to waiting.