Hello, I creat a new content type call realisation. I create a diferent layout for page--realisation.tpl.php but notihing happen. I clear cache.
I try also to put the function to override custom page in template.php "function clean_preprocess_page(&$variables) {..."
but the next error appear "Cannot redeclare clean_preprocess_page() (previously declared in .....sites\all\themes\clean\includes\clean.preprocess.inc on line 111
Can somebody help me
Thanks
Comments
Comment #1
JPE commentedHi, I found this and it works but an error appear
Notice : Undefined index: node dans clean_process_page() (ligne 100 dans ...sites\all\themes\clean\template.php).
Notice : Trying to get property of non-object dans clean_process_page() (ligne 100 dans ....sites\all\themes\clean\template.php).
Comment #2
JPE commentedOk this works for me. I think it was the name of the function.
Comment #3
JPE commentedOk this works for me. I think it was the name of the function.
Comment #4
psynaptic commentedYou shouldn't really add suggestions in process. That is for last minute things like converting attributes_array to a string for printing in the template file etc.
Anyway, seems you have sorted your issue so closing this.