I just did this in my helper :

class AttribHelper extends AppHelper
{

          function helpme()
         {
                          $lview = ClassRegistry::getObject('view');
                         $lview->renderElement('myelement');

.....




On Jul 19, 8:25 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 18, 10:41 pm, rtconner <[EMAIL PROTECTED]> wrote:
>
> > Anyone know of any trixie ways to render an element from within a
> > helper?
>
> see the helper code 
> here:http://snook.ca/archives/cakephp/elemental_conditional_content_with_c...
>
> 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