For 2.0 u can use the Helper afterLayout(). Previously to 2.0 u can do the check in webroot/index.php using OB.
-- Thanks, Bogdan Bursuc! > or....not in controller... > -- > Lep pozdrav, Tilen Majerle > http://majerle.eu > > > > 2011/7/20 Tilen Majerle <[email protected]> > > > you can't :) > > -- > > Lep pozdrav, Tilen Majerle > > http://majerle.eu > > > > > > > > 2011/7/20 Prabha vathi <[email protected]> > > > >> You misunderstood i think. > >> It is already under layouts/default.ctp > >> > >> How do i read this word (powered by) before the site is loading ? > >> > >> On Wed, Jul 20, 2011 at 11:40 AM, Tilen Majerle <[email protected]>wrote: > >>> make your custom default.ctp layout in app/views/layouts/default.ctp > >>> (CakePHP version < 2.0.0-Alpha) or app/View/Layouts/default.ctp > >>> (CakePHP 2.0.0-Alpha) > >>> -- > >>> Lep pozdrav, Tilen Majerle > >>> http://majerle.eu > >>> > >>> > >>> > >>> 2011/7/20 Prabha vathi <[email protected]> > >>> > >>>> Hi, > >>>> > >>>> I want to read default.ctp to check whether "powered by " exist or > >>>> not. How can i do this? > >>>> > >>>> I know, Programmers can easily remove it. Just wanted to know. > >>>> > >>>> -- > >>>> Our newest site for the community: CakePHP Video Tutorials > >>>> http://tv.cakephp.org > >>>> Check out the new CakePHP Questions site http://ask.cakephp.org and > >>>> help others with their CakePHP related questions. > >>>> > >>>> > >>>> To unsubscribe from this group, send email to > >>>> [email protected] For more options, visit this > >>>> group at http://groups.google.com/group/cake-php > >>>> > >>> -- > >>> > >>> Our newest site for the community: CakePHP Video Tutorials > >>> http://tv.cakephp.org > >>> Check out the new CakePHP Questions site http://ask.cakephp.org and > >>> help others with their CakePHP related questions. > >>> > >>> > >>> To unsubscribe from this group, send email to > >>> [email protected] For more options, visit this > >>> group at http://groups.google.com/group/cake-php > >> > >> -- > >> -- Prabhavathi > >> > >> -- > >> > >> Our newest site for the community: CakePHP Video Tutorials > >> http://tv.cakephp.org > >> Check out the new CakePHP Questions site http://ask.cakephp.org and help > >> others with their CakePHP related questions. > >> > >> > >> To unsubscribe from this group, send email to > >> [email protected] For more options, visit this group > >> at http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
