Closed (fixed)
Project:
Admin message
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2011 at 22:09 UTC
Updated:
3 Dec 2012 at 16:40 UTC
Please correct me if I'm wrong but to customise the template I needed to copy it to my theme folder and then include the following in my template.php:
function <themename>_theme() {
return array(
'admin_message_message' => array(
'arguments' => array('node' => NULL),
'template' => '<pathtotemplate>admin-message-node',
),
);
}
Hope this helps someone and if I'm right it might be worth adding to the already helpful documentation,
Crom
Comments
Comment #1
dsnopekNo, all you need to do is copy the template into your theme folder and clear the theme cache - you don't need to return anything special from your hook_theme().
Hope that helps!
Regards,
David.