Re: Link with inline CSS styles

2013-08-29 Thread euromark
Ideally, you use a helper and its afterLayout callback to finalize/modify the rendered html. Thats how it works for me. Something like that: App::uses('InlineCssLib', 'Tools.Lib'); class EmailProcessingHelper extends AppHelper { /** * Process Email HTML content after rendering of the email

RE: Link with inline CSS styles

2013-08-29 Thread Advantage+
Thanks, I will give that a shot. Let you know how it goes. Appreciated. Dave From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of euromark Sent: Thursday, August 29, 2013 11:55 AM To: cake-php@googlegroups.com Subject: Re: Link with inline CSS styles

Element Path Help

2013-08-29 Thread Advantage+
The admin section of the site is displaying from inside Themed/Admin and I am trying to grab an element outside of the theme. How do you correctly specify to look outside of the theme? echo $this-Element(); works fine for elements within the theme but to access the root Element folder?

Re: Element Path Help

2013-08-29 Thread Simon Males
Not that I know of and by looking at the source, it doesn't seem so either: https://github.com/cakephp/cakephp/blob/c1ae41da510befbc514a59ca486fb79d2a18f158/lib/Cake/View/View.php#L371-L423 The only way I can think of doing is by putting the required element in a Plugin, then it will be