Skip to content

Commit

Permalink
Update copyrights; links to https; MODx to MODX
Browse files Browse the repository at this point in the history
  • Loading branch information
BobRay committed Jul 8, 2017
1 parent 71da76e commit 0a0de04
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 46 deletions.
6 changes: 3 additions & 3 deletions _build/build.transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
/**
* Personalize
*
* Copyright 2011-2014 Bob Ray
* @author Bob Ray <http://bobsguides.com>
* Copyright 2011-2017 Bob Ray
* @author Bob Ray <https://bobsguides.com>
* @author Ryan Thrash
* @author Shaun McCormick
* @author kudolink
Expand Down Expand Up @@ -55,7 +55,7 @@
define ('MODX_ASSETS_URL', '');
define ('MODX_CONNECTORS_URL', '');

/* instantiate MODx */
/* instantiate MODX */
require_once $sources['build'].'build.config.php';
require_once MODX_CORE_PATH . 'model/modx/modx.class.php';
$modx= new modX();
Expand Down
2 changes: 1 addition & 1 deletion core/components/personalize/docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Personalize 1.0.1
- Added Build
- Reorganized for Git
- Revolution Transport Package created
- MODx Revolution version
- MODX Revolution version

Ancient History
- Aug 06, 07 -- replaced 2.0 code with modified version found here
Expand Down
34 changes: 17 additions & 17 deletions core/components/personalize/docs/readme.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
--------------------
Snippet: Personalize
--------------------
Author: Bob Ray <http://bobsguides.com>

A snippet for showing one chunk to logged-in users and
another chunk to anonymous users.

Documentation:
See tutorial at http://bobsguides.com/personalize-tutorial.html

Also: Edit the Personalize snippet and click on the Properties tab.
Click on the plus sign next to any property to see its description.

Bugs and Requests:
https://github.com/BobRay/Personalize/issues

--------------------
Snippet: Personalize
--------------------
Author: Bob Ray <https://bobsguides.com>
A snippet for showing one chunk to logged-in users and
another chunk to anonymous users.
Documentation:
See tutorial at https://bobsguides.com/personalize-tutorial.html
Also: Edit the Personalize snippet and click on the Properties tab.
Click on the plus sign next to any property to see its description.
Bugs and Requests:
https://github.com/BobRay/Personalize/issues
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Personalize snippet for MODx Revolution
* Personalize snippet for MODX Revolution
*
* Personalize is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
Expand All @@ -18,7 +18,7 @@
* @package personalize
*/
/**
* MODx Personalize Snippet
* MODX Personalize Snippet
*
*
* @package personalize
Expand Down
2 changes: 1 addition & 1 deletion core/components/personalize/lexicon/en/properties.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* QuickEmail
*
* Copyright 2010 by Bob Ray <http://bobsguides.com>
* Copyright 2010-2017 Bob Ray <https://bobsguides.com>
* 1/16/2011
*
* QuickEmail is free software; you can redistribute it and/or modify it
Expand Down
30 changes: 8 additions & 22 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,18 @@
Personalize Snippet for MODx Revolution
Personalize Snippet for MODX Revolution
=======================================

**Revolution Author:** Bob Ray [Bob's Guides](http://bobsguides.com)
**Date:** 01/10/2011
**Revolution Author:** Bob Ray [Bob's Guides](https://bobsguides.com)

**Documentation:** See tutorial at [Bob's Guides](http://bobsguides.com/personalize-tutorial.html)
**Documentation:** See tutorial at [Bob's Guides](https://bobsguides.com/personalize-tutorial.html)

**Bugs and Requests:** [GitHub](https://github.com/BobRay/Personalize/issues)
**Bugs and Requests:** [Personalize Issues](https://github.com/BobRay/Personalize/issues)

A snippet for MODx Revolution showing one chunk to logged-in users and
another chunk (or nothing) to anonymous users.

##Typical Snippet Call


[[!Personalize? &yesChunk=`yesChunk` &noChunk=`noChunk`]]
**Questions about using Personalize** [MODX Forums](https://forums.modx.com)

##Parameters

&yesChunk -- (optional) Name of yes chunk or inline HTML

&noChunk -- (optional) Name of no chunk or inline HTML

&ph -- (optional) Placeholder for user name (will not be available in no chunk)

&fullName -- (optional) Use full name instead of username for placeholder
A snippet for MODX Revolution showing one chunk to logged-in users and
another chunk (or nothing) to anonymous users.

&firstName -- (optional) Use first name instead of username for placeholder
You can also use Personalize to show different content to different user groups.

&ifIds -- (optional) Comma-separated list of users to show yesChunk to

0 comments on commit 0a0de04

Please sign in to comment.