I have a situation where I want to hide the authorpane for a specific Author. Is it possible to add this functionality to authorpane?

Comments

Michelle’s picture

Hmm... Possibly... It's been a while since I've had my head in Author Pane and I can't remember if there's a point after it's called where it could short circuit and kick out without any of the preprocesses running. If there is, the code could be put there. Honestly, though, I think this makes much more sense to put this with the calling code. Don't call it at all for roles that can't see it.

I'm not completely opposed to the idea if someone wants to write the code but I don't think it's the best idea, either.

larsmw’s picture

I am not sure that it is easy to control from outside authorpane. In my example if the author of a node has uid=1 or uid=n then i want to hide the pane. Its not dependent on the viewing uid.

I have made an "ugly hack" to make it work, but maybe there could be a little admin ui to choose the settings.

ARUN AK’s picture

Hi,

I think this is very nice feature, and it make more better if add it with Author Pane module. I can implement this.

Leeteq’s picture

Priority: Normal » Major
Issue summary: View changes
larsmw’s picture

Status: Active » Closed (won't fix)