beforefilter call 3 times

2007-02-22 Thread pieceofcakephp
I have this code (below), but when it run from http://localhost/app/users/login I see the log for function "beforefilter()" call 3 times 2007-02-22 14:32:44 Error: login->beforefilter():0Users 2007-02-22 14:32:44 Error: defaultX.X.XUsers 2007-02-22 14:32:44 Error: login():Users 2007-02-22 14:32:4

Re: How to add header to all pages

2006-11-12 Thread pieceofcakephp
first, put this code to your header template: //--- renderElement('zone_header'); ?> //--- this code will call "app/views/elements/zone_header.thtml" inside "zone_header.thtml" put another code: //--- requestAction("zones/dyn