#5042: EMail Component doesn't support plugins for templates.
-----------------------------------------+----------------------------------
    Reporter:  mustan9                   |         Owner:         
        Type:  Enhancement               |        Status:  new    
    Priority:  Medium                    |     Milestone:  1.2.x.x
   Component:  Components                |       Version:  RC2    
    Severity:  Normal                    |    Resolution:         
    Keywords:  email, plugin, component  |   Php_version:  PHP 5  
Cake_version:  1.2.0.7125 RC1            |  
-----------------------------------------+----------------------------------
Comment (by reijer):

 Replying to [ticket:5042 mustan9]:
 > The e-mail component in CakePHP doesn't allow the developer to define
 the plugin source for templates used when rendering the e-mail.
 >
 > In the email.php file, line 386
 > $content = $View->element('email' . DS . 'text' . DS . $this->template,
 array('content' => $content), true);
 >
 > The view render element method allows you to provide a plugin source as
 a param array option, but the email component doesn't allow you to define
 the source. If the email component had an extra property called "plugin",
 and if it was set to assign it to the array being passed to
 $View->element, then this would resolve the issue.

 ----


 What about this ticket? Is it still active?

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5042#comment:1>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" 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/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to