When using Rubik as the admin theme, form elements can't be placed in Rubik's sidebar, using the hook Rubik exposes for this (hook_node_form_sidebar()).

This seems to be because Rubik defines its hook in a preprocessor function for theme_node_form(), and Quiz doesn't render its node form through that theme function.

The attached patch adds a line to theme_quiz_node_form() in quiz.admin.inc, line 1586, to pass $form through theme_node_form() and return it. This fixes the issue for me.

CommentFileSizeAuthor
quiz-theme-node-form.patch362 bytesrohnjeynolds

Comments

simon georges’s picture

Status: Active » Needs review

Changing the status as there is a patch.

Regards,

borgewarvik’s picture

Status: Needs review » Reviewed & tested by the community

I have testet the patch and it works fine on my installation.

sivaji_ganesh_jojodae’s picture

Status: Reviewed & tested by the community » Fixed

Thanks. Fix has been committed CVS.

Status: Fixed » Closed (fixed)
Issue tags: -rubik

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