and add a link to "my account," how do i do this?
thanks in advance.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | logintoboggan_my_account_new_link.patch | 662 bytes | Magnity |
| #1 | logintoboggan_my_account_anchor_username.patch | 634 bytes | Magnity |
and add a link to "my account," how do i do this?
thanks in advance.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | logintoboggan_my_account_new_link.patch | 662 bytes | Magnity |
| #1 | logintoboggan_my_account_anchor_username.patch | 634 bytes | Magnity |
Comments
Comment #1
Magnity commentedI have created patches to sort out adding a link to "My Account".
1 - By adding an additional link between the username and the logout link
2 - By converting the username into a link to the "My Account" page
Personally I think the 1st option is much easier on the eye, and also much more self explanatory to users, and would like to see this as part of the module if possible.
Please post comments!
Comment #2
bbeyer commentedYou can just override these in your template.php.
Comment #3
hunmonk commentedcorrect, any adjustments should be made at the theming level, i'm not changing the default theming of the block.
Comment #4
lejon commentedcan you explain where in the theme template you should change this, along with the syntax?
Comment #5
hunmonk commentedyou need to override theme_lt_loggedinblock() in your theme. check the drupal.org handbook or google for instructions on how to override a theme.
Comment #6
Keith commentedWould someone clear up my confusion? I'm using Drupal-6.x-20 and observe this behavior:
When the user logs in, the block disappears, apparently because its content is empty. The name of the method (theme_lt_loggedinblock()) suggests that the content should appear after the user logs in. The code in function logintoboggan_block() seems to confirm this:
Comment #7
hunmonk commentedthe block should only appear for logged in users.
Comment #8
Keith commentedBut in my application it does not show up for logged-in users, as it is supposed to. Can anyone explain?