You are here

README.txt in Author Pane 5

Same filename and directory in other branches
  1. 6.2 README.txt
  2. 6 README.txt
  3. 7.2 README.txt
CONTENTS OF THIS FILE
-----------------------------------------------------------------------------------------
 * Introduction
 * Installation
 * Usage
  
INTRODUCTION
-----------------------------------------------------------------------------------------
Author Pane (http://drupal.org/project/author_pane) provides information about the author 
of a node, comment, or profile page. From core, it displays the user picture, name, join 
date, online status, contact link, and profile information. In addition, it gathers data 
from many user related contributed modules and puts it together in a modifiable template 
file.

INSTALLATION
-----------------------------------------------------------------------------------------
1. Copy the entire author_pane module directory into your normal directory for modules, 
   usually sites/all/modules.
   
2. Enable the Author Pane module in ?q=admin/build/modules.

3. If you are using this outside of APK/AF, copy the author-pane.tpl.php file to the root
   of your theme. Otherwise, you don't need to copy it.

USAGE
-----------------------------------------------------------------------------------------
* If you have Advanced Forum installed, it will make use of Author Pane automatically.
   
* If you have Advanced Profile Kit installed, it will make use of Author Pane 
  automatically.

* If you have Panels installed, you can add the Author Pane to any panel display. It 
  requires the user context. You can set a custom image path and template file to use
  or let it fall back to the ones that come with the module. The template file you choose 
  must exist in your theme's root directory.

* There is an Author Pane block provided that you can enable. The block will show up on
  user/NN, blog/NN, and node/NN where the node type is one that you allow in the block
  config. If you want to exclude it from one of those page types, use the core block
  visibility option. You can also set a seperate image path / template file for this
  usage of the Author Pane or leave it blank to use the ones in the module. The template
  file you choose must exist in your theme's root directory.
    
* You can insert the Author Pane any place that has a user object available with the 
  following syntax. $account is user object, $image_path is the path to the images
  Author Pane can use (optional) and $template_file is the name of the template file
  to use, without the .tpl.php part (optional). The template file you choose must exist 
  in your theme's root directory.
  
  <?php print theme('author_pane', $account, $image_path, $template_file); ?>
  

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. -----------------------------------------------------------------------------------------
  3. * Introduction
  4. * Installation
  5. * Usage
  6. INTRODUCTION
  7. -----------------------------------------------------------------------------------------
  8. Author Pane (http://drupal.org/project/author_pane) provides information about the author
  9. of a node, comment, or profile page. From core, it displays the user picture, name, join
  10. date, online status, contact link, and profile information. In addition, it gathers data
  11. from many user related contributed modules and puts it together in a modifiable template
  12. file.
  13. INSTALLATION
  14. -----------------------------------------------------------------------------------------
  15. 1. Copy the entire author_pane module directory into your normal directory for modules,
  16. usually sites/all/modules.
  17. 2. Enable the Author Pane module in ?q=admin/build/modules.
  18. 3. If you are using this outside of APK/AF, copy the author-pane.tpl.php file to the root
  19. of your theme. Otherwise, you don't need to copy it.
  20. USAGE
  21. -----------------------------------------------------------------------------------------
  22. * If you have Advanced Forum installed, it will make use of Author Pane automatically.
  23. * If you have Advanced Profile Kit installed, it will make use of Author Pane
  24. automatically.
  25. * If you have Panels installed, you can add the Author Pane to any panel display. It
  26. requires the user context. You can set a custom image path and template file to use
  27. or let it fall back to the ones that come with the module. The template file you choose
  28. must exist in your theme's root directory.
  29. * There is an Author Pane block provided that you can enable. The block will show up on
  30. user/NN, blog/NN, and node/NN where the node type is one that you allow in the block
  31. config. If you want to exclude it from one of those page types, use the core block
  32. visibility option. You can also set a seperate image path / template file for this
  33. usage of the Author Pane or leave it blank to use the ones in the module. The template
  34. file you choose must exist in your theme's root directory.
  35. * You can insert the Author Pane any place that has a user object available with the
  36. following syntax. $account is user object, $image_path is the path to the images
  37. Author Pane can use (optional) and $template_file is the name of the template file
  38. to use, without the .tpl.php part (optional). The template file you choose must exist
  39. in your theme's root directory.