Jump to content

HTML logic


Hunter Lyons

Recommended Posts

So... I want to display one page layout on my home page to guests, and another totally different one to non-guests (probably HeadStand's Social Stream if I buy it). I know you can use the HTML logic to do that with certain blocks, but how could I do that with entire page layouts? Guests would just see a big introduction post, and then non-guests would see the Social Stream with some other blocks on the sidebar. Is this possible, or?

Link to comment
Share on other sites

This is an example:
Create two blocks
At first (name-> 'guests') enter html content only for guests. Place this block permission only for guests.

Your second block (name->'all_users') contains html for all groups without guests.
Of course, permissions for all groups without guests.

Create page /Manual Html/ (name example 'start') with content

{block="guests"}{block="all_users"}

To this page 'start' tick star 'Make default page for this folder'

Of course Pages must be your default App

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...