Documentation

Use this package to place a stack anywhere on your site by name.  Simply add the block, enter the name of the stack you would like to display and choose your design settings.

Additionally, users of Magic Data can conditionally display stacks to users using Magic Data symbols.  For instance to display different stacks to logged in and non logged in users enter something like the following in the stack name input:

[%UID GT 0 IF ( 'Stack Name A' ) ( 'Stack Name B' )%]

Guests will be shown Stack A.  Users who are logged in will be shown Stack B.

The edit dialogue design features allow for adding design to the stack being displayed, making it easy to pass design through page type defaults or Page List Teaser templates where the Genetic Stacks block resides.

 

***

Never allow a stack to display itself.  If you do, you will be forced to roll back page/stack versions by visiting the full sitemap.  This package is versatile and very useful when used with caution.  It's true power is brought out by Magic Data.  Let me give you another example of how we can use this as an ad targeting system that doesnt show to administrators :)

First, lets say we have individual stacks in a "tree structure" like this:

Login

     RegisteredUser

          Administrators

          RegisteredUsers

     Guest

In the Login stack include a genetic stacks block with the following:

[%UID GE 1 IF ('Guest') ('RegisteredUser')%]

In the RegisteredUser stack include a genetic stacks block with:

[%UID IN_GROUP 'Administrators' IF ('RegisteredUsers') ('Administrators')%]

Now place whatever you'd like your different users to see in the RegisteredUsers and Guest stacks, while using the administrator stack to display an administration quick link menu or such.

 

Stack Manager Integration

Enlil Genetic Stacks now integrates with the Stack Manager add-on.  All stack names entered manually, without the use of Magic Data Tokens, will be shown in the Stack Manager dialogue.