So we could do lots of different things when dupe stuff is found.

For example I would like to redirect the user to a signup / payment page :)

With Rules we could also display custom error message.

Comments

Sawascwoolf’s picture

subscribe

Problue Solutions’s picture

subscribe

bisonbleu’s picture

subscribe

nfriend’s picture

Great module!

Perhaps some rules integration would help address the the Add Content rules option as this get by the duplicate check.

Thanks -Neil

pbeakley’s picture

subscribe!

dreftymac’s picture

PROBLEM:
CCK unique_field module does not support configurable actions when a field duplication rule is violated.
The only action available is the display of a standard error message.
The error message is always the same regardless of the duplication context or node type.

WORKAROUND-001:
Use the stringoverrides module to change the default error message.
(See http://drupal.org/project/stringoverrides)

### ********************
### original
The @label field requires a unique value, and the specified value is already used.

### ********************
### replacement
The @label specified already exists in the database, Please click here for more details.

BENEFITS-001:
Using this method, it is possible to get (minimal) Rules integration.
Rules integration can be done by triggering a rule whenever the user clicks on the link in the custom error message.
Just make a custom rule to do whatever action you want.
(See http://drupal.org/project/pathrules)

PITFALLS-001:
This only provides a way to change from one singular fixed error message to another.
This still does not provide custom error messages for each duplication context.

carajito’s picture

Will be awesome

AstonVictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks