On 12 Nov 2007, at 15:46, Matthew Weier O'Phinney wrote:

I've run into a small problem now where the layout stops getting rendered
right after my echo statement in this code segment bellow.

        
         <div class="debugContainer">
        </div>
        <?php echo $this->layout()->content; ?>
</div>
</body>
</html>

Those last 3 tags (or anything else I try and echo or hard code) never
render in the browser.

Try this instead for grabbing the content:

    <?php echo $this->placeholder('Zend_Layout')->content ?>

and let me know if that works. If so, I need to make some changes to the
layout view helper.

Hi Matthew. Yes that worked perfectly. Many thanks.

Hope it doesn't mean too much work for you :)

--
Dan Field <[EMAIL PROTECTED]>                   Ffôn/Tel. +44 1970 632 582
Peiriannydd Meddalwedd                                 Software Engineer
Llyfrgell Genedlaethol Cymru                   National Library of Wales



Reply via email to