Hi there,

I'm a drupal noob, but I love deco, it's brilliant. However, I want to replace the logo.png with a flash .swf I created (just animated text with some effects). Is there any way to do this? What file would I have to change for the header to look for my embed/.swf code instead of logo.png?

Thanks a bunch!
Oy.

Comments

Oyjord’s picture

Anyone?

frost’s picture

ok, this is likely not to be the best way to do this, but i've done this in other themes and it works:
you can modify the theme's page.tpl.php file (starting from line 36) and remove the logo and page title stuff and insert the link for your swf.

hopefully someone else will tell you a better way because one drawback to my suggestion is that you can't upgrade your theme without having to re-edit the new page.tpl.php file (keep a backup as otherwise it will be replaced when you upgrade)

klaasvw’s picture

Status: Active » Fixed

If you want to replace the logo by an swf it's indeed better to edit page.tpl.php directly. The logo currently only supports images.

If you're worried about being able to upgrade the theme without losing your change, try making a new sub theme that uses deco as parent theme. Then simply copy the page.tpl.php of deco to your new theme and make the change there.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.