Hi All,

Newbie to Drupal. Added the theme Tao to my drupal installation, then created a sub-theme using Skeleton.

Copied over the tpl files from the Tao install and everything is overriding the base theme great apart from the object.tpl file?

Ive googled everything and tried loads of functions in my template.php file for skeleton but nothing is workin. I make a change in Tao object.tpl and i see the change, i do it in the Skeleton.tpl and nada.

Its actually driving me insane lols! Drupal has not been easy to get to grips and I'm struggling, so any help would be great.

I tried variations of this in my skeleton template.php but it didn't work, whether this was right or not who knows :)

function skeleton_theme() {
$items = array();

$items['comment_wrapper'] = array(
'path' => drupal_get_path('theme', 'skeleton') .'/templates',
'template' => 'object',
);

return $items;
}

Lea

Comments

Jeff Burnz’s picture

Ahhhh, well off the top of my head - base hook is probably meant to be there.

I am kind of wondering why are you bothering to do this? Tao was an interesting idea for theming in Drupal about 5 years ago, but I just completely fail to see what the point in replacing the comment wrapper template with this object template, I mean, why?