I made simple subtheme using guide, everything is working good, but suddenly I realised that CCK Link fields on edit forms are broken (instead of them I get words 'Array'). If I switch to another theme or acquia_marina itself, problem disappears. My subtheme only consists of empty local.css file, 2 css files I copied from marina and template.php with 1 single theme override function (theme_username) - that function is harmless anyway.
Theme info file consists of the following:
name = Custom
description = Subtheme for acquia marina
core = 6.x
engine = phptemplate
version = "6.x-1.6"
base theme = acquia_marina
stylesheets[all][] = style.css
stylesheets[all][] = icons.css
stylesheets[all][] = local.css
regions[sidebar_first] = sidebar first
regions[sidebar_last] = sidebar last
regions[header_middle] = header middle
regions[header_last] = header last
regions[preface_first] = preface first
regions[preface_middle] = preface middle
regions[preface_last] = preface last
regions[content_top] = content top
regions[content_bottom] = content bottom
regions[postscript_first] = postscript first
regions[postscript_middle] = postscript middle
regions[postscript_last] = postscript last
regions[footer_top] = footer top
regions[footer] = footer
regions[node_bottom] = node bottom

Is there some additional effort required to make everything work in subtheme ?

Comments

crea’s picture

Project: Acquia Marina » Link
Version: 6.x-1.6 » 6.x-2.5
Status: Active » Closed (duplicate)
jcfiala’s picture

Usually what you have when you get an error like this is a module and a theme with the same name, which you really don't want to have, because you will run into problems like this. I see that the name of your theme is 'Custom' - I'm guessing that you have a 'Custom' module as well?

Perhaps you could try changing your theme's name to 'Custom_Theme', as well as it's various theme functions to use that name?

crea’s picture

jcfiala, man, you probably need to get some rest lol
I marked this as dupe and in other issue you should have seen that I already figured the cause of the problem :-D