I created a patch that support checking of the node title before submission.

CommentFileSizeAuthor
unique_title_field_live_checking.patch3.55 KBnathanjo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shortcircuitcg’s picture

should I take this code and place it in the unique_field.module? When i do I get an error on line "@@ -49,6 +62,81 @@". I must not be understanding how to apply the patch, Do you have some advice for me please.

nathanjo’s picture

how did you do to patch the file? If the patch file is in the root directory of the unique_field module just execute this:

patch -p0 < unique_title_field_live_checking.patch

see applying patches: http://drupal.org/node/60108

drupalfan81’s picture

This is a patch that I think would be a great addition. I am glad someone already thought of it and started working on it. When can we expect this to be included in the release version?

Also, how can I patch this and test it out if I don't have shell access?

Thanks!

thekayra’s picture

Just gave it a try. Worked like a charm. Great work!

Any possibility to customize the output, once it discovers a duplicate?

AstonVictor’s picture

Issue summary: View changes
Status: Needs review » 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