I need to be able to change the layout and basic HTML of the dropdown form that is enabled by LoginToboggan. This is currently defined in the
function _logintoboggan_toggleboggan ($form) {
This doesn't allow for the HTML that is defined in this function to be controlled by the user's theme. There is even a note in the code that states that this should be in the theme.
I am submitting a patch that moves the HTML of this code into a theme function that is called by the _logintoboggan_toggleboggan function. It is a pretty simple patch. I have tested it with the latest Drupal 5 and am able to customize the output of the dropdown using theme hooks.
Please review the patch and let me know what changes if any would need to be made to implement it into the module. Should I also submit a patch for the Drupal 6 version of the module?
| Comment | File | Size | Author |
|---|---|---|---|
| logintoboggan_form_theme.patch | 1.88 KB | bryan kennedy |
Comments
Comment #1
hunmonk commented$form['pre']and$form['post']-- you only need to make sure it's weighted after logintoboggan in the hook order.