Dear Madam / Sir,

as wonderful as "Professional Theme" is as a responsive theme (and in my opinion it ranks among the very best) there seems to be a bug concerning the setup of a subtheme.

I followed the instructions on http://drupal.org/node/225125 to create a subtheme of "Professional Theme". This evoked a lot of error messages like the one shown in the attachment.

In a previous project I successfully created a subtheme of OMEGA, so I wonder what is the recommended way to create a subtheme of "Professional Theme"?

Best regards,
Franz Feiner

CommentFileSizeAuthor
Typical Error Creating Subtheme.png14.43 KBCatsAreNice

Comments

mheinke’s picture

you may need to change the name of the function name specified in the error

example:

subtheme = subtheme

the error says you are trying to redeclare professional_theme_form_system_theme_settings_alter()

which is in theme_settings.php

in your subtheme, in theme_settings.php ...you need to rename this function:

professional_theme_form_system_theme_settings_alter() to subtheme_form_system_theme_settings_alter()

mheinke’s picture

Assigned: Unassigned » mheinke
Category: bug » support
Priority: Normal » Minor
Status: Active » Needs review
mheinke’s picture

i am going to write up a "how to" subtheme, and put it in our readme file :)

mheinke’s picture

Status: Needs review » Needs work
mheinke’s picture

Category: support » task
Priority: Minor » Major

ive found a ton of places where the theme name is hardcoded... making subthemeing very difficult.

escalating the priority and focusing on this issue.

CatsAreNice’s picture

Thank you very much!

I'm very happy to see that "Professional Theme" is well maintained for I think it's one of the best responsive themes.

I'm not exactly rich, so I can't donate (I don't even have a Paypal account or credit card). But maybe I can help in debugging "Professional Theme". I know a little PHP and - given time - I have solved any problem put before me.

Best regards to the Professional Team.

mheinke’s picture

this is actually something im trying to fix.

1) i dont want anyone to donate to the theme. - i fixed the messaging on the homepage to reflect that

if you would like to contribute or document, or just use the theme and tell others about it. that would be MORE then enough!

thank you for your support

mheinke’s picture

Category: task » support
mheinke’s picture

Priority: Major » Normal
Status: Needs work » Postponed

so ive done some discovery and have realized that this theme is simply too big to be sub themed. im working on another solution (local.css, a place to put custom templates...etc...) that wont be overriden by updating

Naod’s picture

I think i have read the phrase " ... the act of creating a sub-theme is not supported " in professional. Do you mean that it is possible to customize the theme?

Thanks

mheinke’s picture

yes,

customizations are allowed as you have the source.

what isnt supported is the act of sub-themeing, (as in i will not create a sub-theme for you)

hope that clears things up! :)

Naod’s picture

Actually the intention was not to ask you about customization rather it is about
the sub-theme. But i am not clear with what you have put in brace.

Thanks.

mheinke’s picture

ask away :)

im always happy to answer questions on an already built sub-theme.

maidanet’s picture

Is it still the case that it's not possible to sub-theme the Professional Theme?

I would like to add a region at the top, to the right of the logo.

mheinke’s picture

building a subtheme is always possible.

but I will not support a subtheme. thanks!

mheinke’s picture

Issue summary: View changes
Status: Postponed » Closed (works as designed)