Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1340

Please complete your profile

$
0
0

Hello folks!

I’d like to display a banner in the after-header extension point if and only if a user did not provide certain information in his profile (first name, last name and some custom field). This is what it looks like so far:

{{velocity}}
#if(!$isGuest){{error}}Please complete your profile!{{/error}}#end
{{/velocity}}

So, how can I access the user’s profile fields from within the velocity macro?

Thanks in advance for some hint!

Holger

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1340

Trending Articles