Download & Extend

Hide information on particular states...

Project:Author Taxonomy
Version:6.x-1.8
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

I'm writing a module that uses author_taxnomy.

Now I'm trying to hide the author_taxnomy information on a node on particular states.
E.g. I would like to say: "If the user has this role, then hide the names of the authors (both the author_taxonomy and the core information)"... this is important in a workflow process I'm trying to implement.
I tried to work with the hook_nodeapi (when $op is view or alter) or the template_preprocess_node... but without any appreciable result...

I would like to avoid a regex raw replacing in the body content... I prefer a clean solution, as in the Drupal spirit... so...
Please, can you suggest me what kind of hook I should implement to hide that information?

Thank you...

Comments

#1

I'm the Drupal 6.x version, the author taxonomy information is added via template_preprocess_page() as the $submitted variable. You'll need to use that hook in your theme (or another module) to manipulate or show/hide that data.

#2

Status:active» closed (fixed)

Hi and very thanks for your help...

PhAI