Custom Template for Login Block

Permalink Browser Info Environment
Could a custom template for Guest Views be created for the Login block? It would be great to be able to display the login block for guests but display the page content for logged in users.

Type: Discussion
Status: New
pixo
View Replies: View Best Answer
Mnkras replied on at Permalink Reply
Mnkras
sure, ill actually add 2 for the login block, one for hiding it and one to show the profile sidebar when logged in
Mnkras replied on at Permalink Best Answer Reply
Mnkras
updated with 2 new templates :)
pixo replied on at Permalink Reply
pixo
You rock! Thanks!
pixo replied on at Permalink Reply
pixo
P.S. - I'm getting the following error when Applying the Hide for Registered User template:

Parse error: syntax error, unexpected '}' in /home/brkthrun/public_html/packages/guest_views/blocks/login/templates/hide_for_registered_users.php on line 49

When I remove the extra bracket it fixed the issue.
Mnkras replied on at Permalink Reply
Mnkras
oops thanks, ill get that up right away

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.