Do we need to call the snippet in order to see a placeholder? I’m a little cloudy on this, I’m trying to show the fullname of a user once the user has logged in.
I’m trying
but nothing is happening.
UPDATE: Ah ha! I realize this may be a no brainer to a lot of you but after using the call:
[!WebLoginPE? &type=`viewprofile` !]
I can access the info I need using the placeholders
I twitch because I care....and drink too much coffee.
I’m new to this snippet as well, but this doesn’t seem to be resolved since you are still calling the snippet in order to see the placeholder.
I actually had the same exact question and it doesn’t seem to work. In fact, you could call the snippet with &type=`anything` and the placeholders will show, but without calling the snippet I haven’t been able to get the placeholders.
I’m wondering if there is a system placeholder or document item that we could use to display something from the web user’s profile rather than calling the snippet each time.
If I’m way off, I’d love to know.
-
☆ A M B ☆
- 24,524 Posts
Of course you need to call the snippet in order to have the placeholders; it’s the snippet that creates the placeholders in the first place.
You can access some of the user data via the SESSION variables...
http://www.sottwell.com/article-sessions.html if you log in as "test", password "testing" the SESSION values will be displayed on the page.