Move themeing of cas login to cas_login.tpl.php
redndahead - June 20, 2008 - 19:41
| Project: | CAS |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
Currently the themeing of the cas login block is hard coded into the module. This patch will move the hard coding to a template file allowing an administrator to theme that block inside their theme folder. It also changes the layout from just a div to a div with an unordered list for the menu item. This is to keep consistency with how other menu items are displayed in drupal.
Attached in the next message will be the patch plus the new cas_login.tpl.php file.

#1
attachments change cas_login.tpl_.txt to cas_login.tpl.php
#2
Unfortunately the latest versions of head have completely changed the strategy for this. We're rendering a form with a button instead, so that users can integrate with the persistent login module. The Login menu was added to provide the simple link functionality, so I felt this block was redundant. It would seem to me that these days such things could be provided with a custom menu or block anyway.
Sorry I sat on this for so long.