Peronalized content (show/hide on login)
This is an open discussion with 5 replies, filed under XSLT.
Search
Have a look at the default ensemble. There’s a login info event in there that you can use.
How do I show/hide parts of the template depending on the users login status?
When you say “user” do you mean an author logged-in to Symphony? If so, add ?debug
to your page, look at the “Params” list and you should see their username in a parameter you can include in an <xsl:if...>
. That, and if you still have the original Symphony install it comes with an Event called “Login Info” which will put info about the current author into your page XML.
When you say “user” do you mean an author logged-in to Symphony?
I mean frontend member
What membership system are you using?
I am using the “new official” members extension… figured out how to use <xsl:if…> and events… thanks
Create an account or sign in to comment.
Hi,
still working on my first symphony project (converting from another cms) and am facing another two problems:
How do I show/hide parts of the template depending on the users login status?
-> on login hide “block1” and show “block2”
How do I change navigation on login?
My navigation looks like this #Home #Backstage #Contact
-> logged out #Backstage points to href=”#” and a jquery loginbox drops in
-> logged in #Backstage points to my members area
Is this possible with symphony?
Thanks for any help!
panic