0

I have a content type to which I added fields like description, image and a field collection containing two simple text fields. Editing and viewing in the backend (logged in as admin) works properly. But when I log off and go to the node it just shows the title and no more. Can anybody lead me to the right direction to find the error?

EDIT: If I leave the field collection fields empty, the other fields get displayed to other users, if I fill in something nothing shows up, just the title

  • what about authenticated user none admins? – Aboodred1 Jun 28 '13 at 16:32
  • also does not show up for authenticated users – tobik999 Jun 28 '13 at 16:33
  • did you install any special permission module? – Aboodred1 Jun 28 '13 at 21:29
  • I am not using any special permission module – tobik999 Jun 29 '13 at 10:27
  • Can this be caused by entity reference? The content types also contain an entity reference field. – tobik999 Jun 29 '13 at 12:38
0

I think I have found the answer, but not really the solution. I deleted the following code in my node.tpl which caused the malfunctioning of field collection:

<?php if (!empty($content['links'])): ?>
<nav class="links node-links clearfix"><?php print render($content['links']); ?></nav>
<?php endif; ?>

But I do not understand why.

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.