/[drupal]/contributions/modules/user_titles/README.txt
ViewVC logotype

Contents of /contributions/modules/user_titles/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download)
Wed Jan 7 01:49:18 2009 UTC (10 months, 2 weeks ago) by agileware
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +9 -8 lines
File MIME type: text/plain
Ported new functionality from D5 version:
- Hookable points system
- Removed javascript from settings
- Can now add an image to a user title
1 When installing this module, it won't appear to do anything at first. This is
2 because you need to modify your theme in order to place the output where
3 you like.
4
5 The function you need to call to get the data is
6 user_titles_get_user_title(). This module will automatically populate the
7 $user_title and $user_title_image variables into your nodes and comments.
8
9 In your node.tpl.php and/or your comment.tpl.php, choose where you would like
10 the user title to appear, and place this code:
11
12 <?php if ($user_title): ?>
13 <div class="user-title">
14 <?php
15 print $user_title;
16 print $user_title_image ? $user_title_image : '';
17 ?>
18 </div>
19 <?php endif; ?>

  ViewVC Help
Powered by ViewVC 1.1.2