Hello all,
I’ve ran into a wall here with the {reverse_related_entries} tag.
I have simple down the whole page to just this relationship bit.
Working Code:
{exp:channel:entries channel="series" limit="1"}
<h2>{title}</h2>
<p> {reverse_related_entries channel="prices" limit="1"}<br />
{title}<br />
{/reverse_related_entries}</p>
<p>{/exp:channel:entries}————————————————————————————-
What I would like:
{exp:channel:entries channel="series" }
<h2>{title}</h2>
<p> {reverse_related_entries channel="prices" limit="2"}<br />
{title}<br />
{/reverse_related_entries}</p>
<p>{/exp:channel:entries}When I first did “What I would like” set it actually worked and I was very happy to see it work, which is when I went wild and basically did 2 more sets of this code (on different pages ofcourse).
However, now its showing ‘php memory issues’ or its giving me a blank page.
My work around for now if anyone is having the same problem.
Now, I did find my way around this wall with the sacrifice of 15sec on the load time.
(calling multiple channel:entries tags and saving them into php arrays, then pushing them together the way I wanted, finally foreach-ing them out.)
Does anyone have a solution so I would be able use my simple “What I would like” code for my project? And future projects?
Please advise.
Thank You,
Cheers