Hello,
I am having difficulties displaying/using the contents of a reverse-related entries field.
This is the set up:
- I have a first channel called “magazines”, that has different entries for every issue of a magazine.
- A second channel “magazine images” contains sample spreads of the different magazine issues. Each image is a separate entry in this channel with a relationship to the channel “magazines”. In the relationship field (“issues”) I select the appropriate issue for every image.
When I try to display the images as reverse-related entries inside the “magazines” channel, I run into a problem: While the images are shown for the right magazine issue, the content of “issue” (example: “july 2011”) is not shown, but instead an ID-number for every image.
Can the contents of the field establishing the relationship not be displayed? I am trying to use the contents to build “issue galleries” with fancybox. Here´s my basic code:
{exp:channel:entries channel="magazines" sort="asc"}
{title}
{reverse_related_entries channel="magazineImages"}
<a href="http://{image}%22class=%22grouped_elements" rel="{issue}" class="grouped_elements">_{exp:imgsizer:size src="{image}" width="150" height=""}_{sized}_{/exp:imgsizer:size}_</a>
{issue}
{/reverse_related_entries}
{/exp:channel:entries}Thanks for any suggestions!
Wolfram