Node Reference Custom text is a simple module to add a custom text display option to a node reference field. This module uses the Fields API to add a formatter and display to Node Reference fields. The displayed text can be linked to the referenced node or not based on the configured settings for that field.

Git Command: git clone --recursive --branch 7.x-1.x-dev bjcone@git.drupal.org:sandbox/bjcone/1808786.git
Git Link: http://git.drupal.org/sandbox/bjcone/1808786.git

Project is available at http://drupal.org/sandbox/bjcone/1808786.

This project is intended for Drupal 7.x.

To use this module go to the Manage Display tab of a content type where you have a node reference field configured. Set the Display Type for that field to Custom Text and then input your text through the settings form.

Comments

klausi’s picture

Status: Active » Needs work

Welcome,

please get a review bonus first. Then try to fix issues raised by automated review tools: http://ventral.org/pareview/httpgitdrupalorgsandboxbjcone1808786git

dharam1987’s picture

Hello,

Please add the following links in your issue summery to help reviewers

Git Commant : git clone --recursive --branch master http://git.drupal.org/sandbox/bjcone/1808786.git node_reference_custom_text

Git Link : http://git.drupal.org/sandbox/bjcone/1808786.git

1- Add README.txt file to your module.

2- Your project is still in master branch, create a 7.x-1.x branch for drupal 7 version of your module and delete the master branch

3- Line #18 'node_reference_custom_text' => 'Custom Text not yet set', make sure all the texts come through t(), ex - here it would be t('Custom Text not yet set')

Reason :- This helps your module to be used in multilingual sites aswell.

Please add more information about how to use your module, I am not sure if I am missing any thing, I have installed your module and enabled it, then I have created a node reference field for my custom content type, while adding a node I don't see an option to add custom text, it might be available else where which I am missing, help me finding it once.

Thanks

bjcone’s picture

Status: Needs work » Needs review

I have made the recommended updates to the Node Reference Custom Text module including:
* Add README.txt file
* Remove version from .info file
* Update branch to 7.x-1.x-dev
* Syntax and style updates for Drupal Coding Standards compliance.

bripatand’s picture

Status: Needs review » Closed (duplicate)

Hello,

I think the module is too "simple" to be accepted. See http://drupal.org/node/1587704 section 2.3.

Moreover the following module can do the same and much more: http://drupal.org/project/token_formatters.

Sorry.

bripatand’s picture

Issue summary: View changes

Update application text to include instructions for use of module and git clone command for reviewers' convenience.

avpaderno’s picture

Issue summary: View changes
Status: Closed (duplicate) » Closed (won't fix)