Closed (fixed)
Project:
User titles
Version:
5.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2007 at 10:22 UTC
Updated:
3 Dec 2007 at 01:01 UTC
Sorry for my English and php.
A have done all from readme.txt, and a got title in node (for node author), but not in comments for this node (for comments authors).
To fix this problem I add $user_comment_title variable to use it in comment.tpl.php
This is a code from template.php
case 'node':
if (module_exists('user_titles')) {
$vars['user_title'] = user_titles_get_user_title($vars['node']->uid);
}
case 'comment':
if (module_exists('user_titles')) {
$vars['user_comment_title'] = user_titles_get_user_title($vars['comment']->uid);
}
After that I have got that I want.
I use modified garland theme and Drupal 5.2
Comments
Comment #1
wrunt commentedThanks Yaroslav, I've fixed this in cvs.
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.