Hey there, I just installed Themekey and noticed that in the Themekey UI settings there is an option to set a specific theme at the time of a node's creation. I enabled this and then moved to create a node, but didn't see any specific dialogue that would allow me when creating a specific node (I have it enabled as an option in the themekey settings) to set a specific theme.
Basically, I have a site that will have 2 content branches each with their own theme.
I am enabling signups to events, but depending on the type of signup, I would want one of two content brach themes to be used.
Instead of creating content, and then going back into the rules listing and setting it each time, I thought this feature would be great, but for some reason I can't get it to work or display.
I assume I am missing something very basic.
Note: the only theme related dialogue I see displays a radio button saying something along the lines of "do not allow the theme to be switched"
I have more than one theme enabled, and can manually set themes via rules, but this theme-on-the-fly doesn't seem to work.
Comments
Comment #1
mkalkbrennerYou have to enable some 'Selectable Themes' at admin/config/user-interface/themekey/settings/ui
Comment #2
mkalkbrennerI turn this issue into a bug report.
Activating 'Show theme option in create/edit node forms' without defining 'Selectable Themes' should bring up an error message: 'You need to activate at least one selectable theme.'
For some reason that doesn't seem to work. I have to review themekey_ui_settings_form_validate().
Nevertheless, comment #1 should help you.
Comment #3
mkalkbrennerComment #4
cjeanson commentedThanks, I looked at that page for a long time, but never noticed the selectable themes link at the top!
Geez
Thanks again
Comment #5
stevecory commentedAfter checking the Administrator > Configuration > ThemeKey > Settings : "Show theme option in create/edit node forms" a WSOD appears when attempting to add or edit a content type.
Comment #6
mkalkbrennerPlease check the error logs (apache, php) for the fatal error that caused the WSOD. Or configure your php.ini to display that error instead of WSOD. Maybe it's not caused by ThemeKey.
Comment #7
mkalkbrennerI verified the form validation. It works - the error message pops up.