Closed (duplicate)
Project:
Recipe
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2011 at 15:58 UTC
Updated:
2 Jun 2013 at 07:31 UTC
1. Open Content types -> Recipe -> Display -> Teaser. Set Ingredients and Description to visible
2. Add any taxonomy field to recipe content type.
3. Add node with taxonomy term specified.
4. Open taxonomy term page.
Ingredients and Description fields are not shown in the node item in the node list. Generally, any Recipe module related fields not shown, only fields I add by myself.
Recipe related fields should be visible in the node teaser mode.
Comments
Comment #1
kn8 commentedSubscribing
Can't get to render description or any other built-in recipe field in teaser mode. $content variable is completely missing those fields even though they are set to be shown in recipe teaser setting.
For people with similar problem, I found a dirty solution to get around this: load the full node to other variable and render it. It results in loading a full node on every one of the teasers, so it's not really optimal.
Comment #2
Cray Flatline commentedI'm using next snippet to get ingredients list :
By the way I've got recipe description in the teaser mode (node--recipe.tpl.php) without node load simply with
May be it helps you.
P.s.: JFYI. As I said in another post, you can get yield form with
Comment #3
Cynthia Ewer commentedSubscribing.
Same problem--and don't seem to be able to get the needed description by the listed edits to node-recipe.tpl.php
Comment #4
dcam commentedDuplicate of #1219260: Recipe Description Field not showing in Teaser.