Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 43312 invoked from network); 2 May 2007 15:51:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2007 15:51:27 -0000 Received: (qmail 95383 invoked by uid 500); 2 May 2007 15:51:33 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 95359 invoked by uid 500); 2 May 2007 15:51:33 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 95349 invoked by uid 99); 2 May 2007 15:51:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 08:51:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [207.212.50.58] (HELO busybuddha.org) (207.212.50.58) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 08:51:24 -0700 Received: from HALFDOME (sycamore.busybuddha.org [207.212.50.58]) by busybuddha.org (8.13.8/8.12.11) with SMTP id l42FnNsa013131 for ; Wed, 2 May 2007 08:49:23 -0700 Message-ID: <003a01c78cd1$b0fc3280$6c01a8c0@HALFDOME> From: "Anil Gangolli" To: References: Subject: Re: Data object, template guide Date: Wed, 2 May 2007 08:51:04 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Checked: Checked by ClamAV on apache.org The user who created a given entry is exposed to the template, but I don't think the name of the user associated with the request is exposed in any rendering model to the blog templates. I'm not sure if this was a conscious privacy decision at some point or not, but it strikes me that there is at least a question about whether a logged in user's name should be exposed to the template on every page view. This and other information might be able to be provided in a "Request" model object with some local site configuration to control exposure. You can get some non-personal aspects of the user using $utils (e.g. $utils.isUserAuthenticated(), $utils.isUserAuthorizedToAuthor(), $utils.isUserAuthorizedToAdmin()) --a. ----- Original Message ----- From: "benjamin servant" To: Sent: Wednesday, May 02, 2007 6:28 AM Subject: RE: Data object, template guide Sorry to insist guys but I really need to know how I can get the username or the fullame of the current logged in user. So, has anyone any ideas on which data object I should use??? (something that replaced $user.userName, but still work with roller 3.0). _________________________________________________________________ Exprimez-vous : cr�ez la page d'accueil qui vous ressemble avec Live.com. http://www.live.com/getstarted