Downloads » Resources » Personalize 2.0 » Personalize 2.0 | 2.0

Personalize 2.0 2.0

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
2 vote(s).

Checks to see if webusers are logged in and displays a chunk if the user is logged or another chunk if user is not logged.

Works with MODx Version(s): 0.9.2.1
Submitted: Aug 3rd 2006 | License: LGPL | Downloads: 1100

Description

Checks to see if webusers are logged in and displays yesChunk if the user is logged or noChunk if user is not logged. Can use Snippets in chunks, and can set a placeholder to output the username in the yesChunk.
Ca be used multiple times on a page.

Instructions

Copy the contents of the attached file to a new snippet named "Personalize".

Params:

&yesChunk : name of the chunk visible to LOGGED users [REQUIRED]
&noChunk : name of the chunk visible to UNLOGGED users [REQUIRED]
&ph : set a placeholder to display the username in the yesChunk [optional]


( back to top )