Take the 2-minute tour ×
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It's 100% free, no registration required.

I have two channels; A and B. Channel B has a Playa field that relates that entry to entries from Channel A.

In my template, I am wanting to show all the entries from Channel A and display the title of entries from Channel B via the Playa Parent tag.

Here is my code:

{exp:channel:entries channel="channelA" limit="1000"} 
<article id="{url_title}" class="info"> 
    <h2>{title}</h2>
    <ul>
        {exp:playa:parents channel="channelB"}
        <li><a href="{path='/site/view/{url_title}'}">{title}</a></li>
        {/exp:playa:parents}
    </ul>
</article>    
{/exp:channel:entries}

If the channel entry limit is set to anything higher than 1, the template is a white screen. But if the limit is set to "1" it works for the most recent entry only.

If i remove the Playa code, the template shows as it should. Is there something I am missing?

Thanks

share|improve this question
    
Does it work if the limit is 2 or 5? 1000 is a lot of entries. –  Christy Collins Dec 30 '12 at 20:04
add comment

2 Answers 2

up vote 3 down vote accepted

You might be running into PHP’s memory limit. You can read about how to increase that here: http://www.hostucan.com/webmaster-tutorials/increase-php-memory-limit

share|improve this answer
    
That is exactly the case. –  Tad Ward Jan 9 '13 at 3:39
add comment

Just in case... have you tried dynamic="no" in your outer entries tag?

share|improve this answer
    
I would also suggest (though you may have removed them just for simplicity's sake here) adding params to both tag pairs for disable= for example. –  Jean St-Amand Dec 29 '12 at 12:04
    
Jim - yep dynamic="no" was my first go to, no dice. Jean - disable was in place, no dice either. –  Tad Ward Dec 30 '12 at 2:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.