Handling users with templates.

Author Message

Paul Forsyth

Thursday 30 January 2003 3:27:24 pm

Hi,

Im progressing with ez and am looking at adding users, where each user will have
custom content that they can create/edit. Im having trouble finding the information I
need to allow users to handled correctly within the ez template language. I've seen
examples on sdk.ez for handling such things within the kernel but i haven't made
the connection yet with how to handle this within templates.

I can get a user to log in but what object and attributes do i access within templates
in order to determine that particular user has logged in so that i can insert a switch
statement to serve content? In addition how can i add this user information to the fetch statement
to return content belonging to that user?

I can say more here but I want to start simple and understand the basics :)

Many thanks

Paul

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.