echo $sf_context->getController()->getPresentationFor('sfGuardAuth',
'signin');

- Jon

On Sat, Oct 4, 2008 at 2:45 AM, isleshocky77 <[EMAIL PROTECTED]>wrote:

>
> I've been breaking apart how get_component works and trying to figure
> out how to display a previous action in a layout.  I know that this
> action realistically probably should be a component, but it's in a
> plugin which I don't have access to changing.
>
> So I wanted to know how I would go about rendering an action inside of
> a template. I've tried the following and varying attempts with little
> look.
>
> <?php $view = new sfPHPView(sfContext::getInstance(), 'sfGuardAuth',
> 'signin'); echo $view->render(); ?>
> <?php $view = new sfPHPView(sfContext::getInstance(), 'sfGuardAuth',
> 'signin', sfView::SUCCESS); echo $view->render(); ?>
>
> Any help would be greatly appreciated.
>
> -- Stephen Ostrow
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to