I am using elements but not for this. This will only appear once since
I am going to use it once. Elements have been reserved for stuff that
is going to be use on every page. By doing this I am able to know
which section this is in and allowing my ajax refresher to refresh the
data dynamically.

Anyways, thanks your for help. I was able to fix it like this:

<div id="interest_groups_content" class="content" style="margin:10px;
position:relative;">
        <h1>Interest Groups</h1>

        <div id="interest_groups_nav" style="position:absolute; top:
0px;
right:0px;">
                <? $this->render('interest_groups_nav', 'ajax');
                $this->_hasRendered = false; ?>
        </div>

        <div id="interest_groups_viewer" class="viewer">
                <? $this->render('interest_groups_viewer', 'ajax') ?>
        </div>
</div>

On Dec 30, 4:46 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Dec 30, 1:44 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > I am using Cake 1.18. I am reading the source for view
>
> > I have a model, view, and controller of InterestGroup.
>
> > take a look at app/views/interest_groups/index.thtml
>
> > it loads everything and stops at the first render statement.
>
> you should not be calling render at all, use elements.
>
> hth,
>
> AD

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to