[TYPO3-english] Making access status visible in the Frontend

Walrick lists at globalhealingcircle.net
Tue Apr 21 15:43:41 CEST 2009


This is an answer to the suggestions of Michael en Bernd.

Thanks for your suggestions.

The issue however is not how to add a bit of content to every page. I
can do that easily. The problem is how to add it automatically to a page
which contains some members-only content.

So I got three kinds of pages:
1. Pages which are entirely public: nothing should happen

2. Pages which are entirely members-only: A members-only text is
visible, this works fine and automatically based on the fe_group field
of the page record (using the condition I posted).

3. Pages which are visible to everyone but contain some members-only
content: here a text should appear automatically (for members) that
there's some members-only content on the page, or (even better) every
individual members-only content element should have a text or image
indicating it's status.

Regards

Walrick



Michael Cannon wrote:
> Why not remap the template via TypoScript to automatically include the
> static members content before or after the column content?
> 
> lib.temp = lib.left
> lib.left >
> lib.left = COA
> lib.left.10 = RECORDS
> // user TS RECORDS to pull static uids or content from consistent pid
> lib.left.20 < lib.temp
> 
> use lib.left as normal
> 
> --
> Michael Cannon


-- 
webmaster Global Healing Circle
www.globalhealingcircle.net


More information about the TYPO3-english mailing list