0

Created a entity reference field i CONTENT A and linking it to CONTENT TYPE B. It works fine and takes me to the linked FULL CONTENT. Is it possible to link it to a different view mode like a TEASER or other view mode.

0

I've used View Mode Page before, and it might do the trick for you. Basically assign a view mode for a content type given a URL pattern. Pretty neat.

1

a link: /some/somthing/here is just a link. It resolves to a resource on Drupal (see hook_menu).

A node by default lives at the url node/NID which shows the full view mode. You need Views, a Context, a Panel -- and a different url then node/NID to show a different view mode.

So yes ... you can make a different url to show a teaser. How you make the url is up to you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.