Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bumped version to 3.4.0-pl

  • Loading branch information...
commit 75a0f5c02bd96e6810f7b2552fe2bac312c5288c 1 parent 9eb72ad
@BobRay authored
View
2  _build/build.transport.php
@@ -59,7 +59,7 @@
/* set package info */
define('PKG_NAME','Personalize');
-define('PKG_VERSION','3.3.1');
+define('PKG_VERSION','3.4.0');
define('PKG_RELEASE','pl');
/* load builder */
View
3  core/components/personalize/docs/changelog.txt
@@ -1,7 +1,8 @@
Changelog for Personalize.
-Personalize 3.3.1
+Personalize 3.4.0
-----------------
+(updates by Vasia123)
inline HTML with @CODE: in yesChunk and noChunk
add property &ifIds - shows yesChunk only to users in list
noChunk now is optional
View
4 core/components/personalize/docs/tutorial.html
@@ -5,7 +5,7 @@
Go to System | Package Management on the main menu in the MODX Manager and click on the "Download Extras" button. That will take you to the Revolution Repository (AKA Web Transport Facility). Put Personalize in the search box and press Enter. Click on the "Download" button, and when it changes to "Downloaded," click on the "Finish" button. That should bring you back to your Package Management grid. Click on the "Install" button next to Personalize in the grid. The Personalize snippet should now be installed.</p>
<h3>Usage</h3>
-<p>Strictly speaking, none of the properties are required. Typically you will set the <fixedpre>&yesChunk</fixedpre> and <fixedpre>&noChunk</fixedpre> properties. If you just want to set the placeholder, however, you can leave them out and just set the <fixedpre>&ph</fixedpre> property. In order to have anything appear in place of the snippet tag, though, you need to create the yesChunk and (optionally) noChunk chunks and specify their names in the snippet tag. As of Personalize 3.3.1, the <fixedpre>&noChunk</fixedpre> property is optional. If you leave out the <fixedpre>&noChunk</fixedpre> property, nothing will be shown to not-logged-in users.</p>
+<p>Strictly speaking, none of the properties are required. Typically you will set the <fixedpre>&yesChunk</fixedpre> and <fixedpre>&noChunk</fixedpre> properties. If you just want to set the placeholder, however, you can leave them out and just set the <fixedpre>&ph</fixedpre> property. In order to have anything appear in place of the snippet tag, though, you need to create the yesChunk and (optionally) noChunk chunks and specify their names in the snippet tag. As of Personalize 3.4.0, the <fixedpre>&noChunk</fixedpre> property is optional. If you leave out the <fixedpre>&noChunk</fixedpre> property, nothing will be shown to not-logged-in users.</p>
<pre><fixedpre>
[[!Personalize?
@@ -57,7 +57,7 @@
<h3>Inline HTML</h3>
-<p>As of personalize 3.3.1 (thanks to MODX community member Vasia123), you can specify the HTML to show to both kinds of users in the <fixedpre>&yesChunk</fixedpre> and <fixedpre>&noChunk</fixedpre> properties in the snippet tag rather than using chunks. Here's how:</p>
+<p>As of personalize 3.4.0 (thanks to MODX community member Vasia123), you can specify the HTML to show to both kinds of users in the <fixedpre>&yesChunk</fixedpre> and <fixedpre>&noChunk</fixedpre> properties in the snippet tag rather than using chunks. Here's how:</p>
<pre><fixedpre>
[[!Personalize?
View
7 core/components/personalize/elements/snippets/snippet.personalize.php
@@ -66,13 +66,14 @@
* &ph=`name`
* ]]
*
- * ADDED in 3.3.1:
+ * ADDED in 3.3.1 by Vasia123:
*
* 1. &noChunk=`@CODE:<b>Please login!</b>` - inline snippets
- * 2. &ifIds=`1,3` - additional check for users ids
+ * 2. &ifIds=`1,3` - additional check for users ids. yeschunk will
+ * only be shown to users in the list.
*
*
- * Placeholder [[+name]] will show the user's name in the yesChunk.
+ * Placeholder [[+name]] will show the user's name in the yesChunk or elsewhere on the page.
*
* Create Chunks named HelloUser and Register, the first will be
* shown to a user logged on in the current context,
Please sign in to comment.
Something went wrong with that request. Please try again.