I use a drop-down field to point to articles on the home page that drives a routine which makes clickable headline links for the front page articles automatically that go to the right section for each individual article.
However, it stopped working when I performed the update from 2.7.0 to 2.7.2.
Here is an example of the headline-link generating code that stopped getting info from the relationship field. First, the page gets the entry_id and headline_title and places those into embed variables to send over to the headline-link routines:
<!-- Home Page Headline #1 -->
{exp:channel:entries channel="home" entry_id="4262|4253|4244|5|4235" disable="categories|member_data|trackbacks|category_fields|pagination" status="open"}
<h1 class="link_title">{embed="ri_embed_templates/_greater_read_more" my_entry="{entry_id}" text="{headline_title}"} </h1>
<div id="cs1">
{if headline_image}{site_url}images/{headline_image}{/if}
{photo_credit}
</div>
{headline_summary}
{embed="ri_embed_templates/_greater_read_more" my_entry="{entry_id}" text=""}
{/exp:channel:entries}The second embed above is for the “Read More” link, and so needs the text variable to be emptied.
This is an example of one of the embed routines that actually inserts the headline and read more links:
{exp:channel:entries limit="1" entry_id="{embed:my_entry}" disable="member_data|trackbacks|pagination" status="open|closed" show_future_entries="yes" show_expired="yes"}
{if food_story_links}
{food_story_links}
{food_story_links:categories}
{if category_id=="5"}
{if embed:text !=""} <a href="http://{title_permalink=food_section/food_articles_recipes}">{embed:text}</a>{/if}
{if embed:text ==""} [<a href="http://{title_permalink=food_section/food_articles_recipes}">Read More</a>]{/if}
{/if}
{/exp:channel:entries}
Anyone see anything wrong in here?
Terry