Downloads » Resources » Personalize 2.0

Personalize 2.0

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Votes: 2

Personalize 2.0 3.0

# Aug 06, 07 -- renamed to LoggedOrNot as its more fitting, it also matches the example
# Aug 06, 07 -- replaced 2.0 code with modified version found here: http://modxcms.com/forums/index.php?topic=6221

Works with MODx Version(s): 0.9.6
Submitted: Aug 6th 2007 | License: LGPL | Downloads: 828

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.

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]

Previous Releases

Personalize 2.0 2.0

Initial Release

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


Extras

No results found.


( back to top )