snipt

Ctrl+h for KB shortcuts

Text only

Drupal 7: Field redirection ajax issue (autocomplete input) - Entity Reference

1
2
3
If you have an error in your autocomplete inputs and if you have enabled the "Field redirection" module, you may take a look at your content type manage display screen.

If you're as dumb as I am you may have set the redirect field on the default display instead of the full content one. So when the autocomplete searches for the entity it is automatically redirected.
https://snipt.net/embed/a8b469681b2460a3852619eeee0c6341/
https://snipt.net/raw/a8b469681b2460a3852619eeee0c6341/
a8b469681b2460a3852619eeee0c6341
text
Text only
3
2016-05-01T07:19:18
True
True
Mar 12, 2013 at 11:22 AM
/api/public/snipt/57485/
drupal-7-field-redirection-ajax-issue-autocomplete-input-entity-reference
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>If you have an error in your autocomplete inputs and if you have enabled the &quot;Field redirection&quot; module, you may take a look at your content type manage display screen. </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>If you&#39;re as dumb as I am you may have set the redirect field on the default display instead of the full content one. So when the autocomplete searches for the entity it is automatically redirected. </span></pre></div> </td></tr></table>
"drupal 7", "entity reference", "field redirection", ajax
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.