After rendering the the template, this class then grabs all styles and linked stylesheets and transforms it into inline css
See the test case for details:
(Try it)
Am Dienstag, 14. Mai 2013 07:38:50 UTC+2 schrieb Jason Ellis:
In my CakePHP website I have added my css file to app/View/Layouts/default.ctp
$this->Html->css('myapp');
I use this to add colors to rows in tables on my website.
I have a controller which sends a weekly email to staff with the contents of a table on my website.
My problem is the table in the email does not have colors. Is there any way I can have my CSS applied to my CakeEmail in the same way it is applied to pages on the website?
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment