The only things displayed on my Fasttoggle settings page are the Save and Reset buttons, and the "Configure what fast toggling options are available" text. Clicking Save seems to disable Fasttoggle links and resetting to defaults restores them.

Probably a module conflict. I'll post again if I find out what's going on.

CommentFileSizeAuthor
#3 fasttoggle_admin.patch460 bytesChristefano-oldaccount

Comments

squaretone’s picture

If you log in as user 1 you can see the settings page propperly. It would seem that the 'administer fasttoggle' option was left out of the implementation of hook_perm()

to fix,
change line 77 from:

return array('promote posts', 'make posts sticky', 'moderate posts', 'moderate users', 'moderate comments');

to:

return array('promote posts', 'make posts sticky', 'moderate posts', 'moderate users', 'moderate comments', 'administer fasttoggle');

squaretone’s picture

If you log in as user 1 you can see the settings page properly. It would seem that the 'administer fasttoggle' option was left out of the implementation of hook_perm()

to fix,
change line 77 from:

return array('promote posts', 'make posts sticky', 'moderate posts', 'moderate users', 'moderate comments');

to:

return array('promote posts', 'make posts sticky', 'moderate posts', 'moderate users', 'moderate comments', 'administer fasttoggle');

Christefano-oldaccount’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new460 bytes

Thanks, squaretone. Works for me.

kkaefer’s picture

Status: Reviewed & tested by the community » Fixed

Thanks a lot for figuring this out! I committed the patch.

Anonymous’s picture

Status: Fixed » Closed (fixed)