Boy,
I really thought I was on to something by reading through this thread. Alas, I seem to be having the exact same issues, only the mod.weblog.php file seems to already have the fix built in.
What I’m trying to do is pull all the videos related to a specific artist. Much like the guy who started this thread, I can say that at one point over the last few weeks, this page was working, and then I started getting white screen problems. My memory limit is cranked to 160MB. 😉 So hopefully that wouldn’t cause a problem.
First of all the details:
EE 1.6.9 build 20100430
The page where the test code resides:
http://www.partisanrecords.com/media/wtf
And the code in question:
{exp:weblog:entries weblog="artists" orderby="title" sort="asc" status="not closed" dynamic="off" disable="trackbacks|member_data|pagination"}
{reverse_related_entries weblog="videos" limit="1" status="not closed" dynamic="off" disable="categories|member_data|pagination|trackbacks"}
{if no_reverse_related_entries}
{/if}
<div>
<h3>{embed="global/_artist_name" my_weblog="videos" my_id="{entry_id}" artist_prefix="video"}</h3><p> <!-- This template code below… --><br />
{/reverse_related_entries}</p>
<p>{reverse_related_entries weblog="videos" status="not closed" dynamic="off" disable="categories|member_data|pagination|trackbacks"}<br />
<div><br />
{title}<br />
<a href="http://{video_url}" title="" class="video">{exp:imgsizer:size src="{video_image_preview}" height="100" width="150" alt="Video Still"}</a><br />
</div><br />
{/reverse_related_entries}</p>
<p>{reverse_related_entries weblog="videos" limit="1" status="not closed" dynamic="off" disable="categories|member_data|pagination|trackbacks"}<br />
{if no_reverse_related_entries}<br />
{/if}<br />
</div><br />
{/reverse_related_entries}<br />
{/exp:weblog:entries}
The code for the “global/_artist_name” template:
{exp:weblog:entries weblog="{embed:my_weblog}" entry_id="{embed:my_id}" status="not closed" dynamic="off" disable="categories|member_data|pagination|trackbacks"}
{related_entries id="{embed:artist_prefix}_artist"}{title}{/related_entries}
{/exp:weblog:entries}Thanks for taking a look. Please let me know if anything stands out.
~
Wes
[Mod Edit: Split off from this thread]