Closed (fixed)
Project:
Author Pane
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2009 at 15:16 UTC
Updated:
10 Jan 2010 at 21:50 UTC
thanks for greate module.
could you let me know how to stick Author Pane on each page for logged in user, for example: og lists, searches etc...?
at now moment AuthorPane display for nodes, which was created by author...
thanks in advance...
regards
zzemm
Comments
Comment #1
michelleThis is not easy and requires programming. Roughly:
Michelle
Comment #2
zzemm commentedDear Michelle
Thanks for the clue!!!
For others... detailed:
1. Create a new block
2. Insert the following PHP code
3. Put the block on site
Again, Michelle - thanks a lot.
Comment #3
zzemm commentedComment #4
michelleOoooh, you wanted to show the author pane of the person logged in? Sorry, I missed that. Yeah, getting that isn't so hard. I thought you wanted to show the author on non node/user pages which is very difficult because you have to try and figure out who the author of that page is. Like, how would you show the author of a taxonomy listing? Who would be the author? That's why I said it would be hard.
Glad you were able to figure it out and sorry to mislead you on the difficulty.
Michelle
Comment #5
dalegrebey commentedMichelle,
Great module. Well written and I like that it can be easily integrated with other modules that I am also using. Thanks for that.
I've read in a couple posts where you mentioned that displaying the author pane for non author pages is difficult and requires quite a bit of programming. For my specific usage, displaying author pane on the /user/%/edit page; this was really easy. It seemed rather odd to me that this didn't work by default, but nonetheless--hopefully this will help another adventurous Drupal'r.
All I did was tap into Drupal's templating system and strip away the first part of the string to get the User ID.
Thanks again.
Comment #6
michelleI was talking about the Author Pane block, which is intentionally designed to not show on the edit page. There's an issue to change that, though.
Michelle
Comment #7
vertazzar commentedI also used
and it works everywhere