touching core files is simply wrong.

create or copy app_model.php in you app folder and write into the
class:

        function __construct() {
                parent::__construct();
                if (!defined('GLOBAL_UTF8')) {
                        $this->query('SET NAMES \'utf8\'');
                        define('GLOBAL_UTF8', TRUE);
                }
        } // end construct utf8

for database queries.
for the head simply edit your layout file that you will find under
app/views/layouts, the default layout is called default.thtml, if it
doesn't exists, create it, it's a skel of your html page.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to