Path

ez.no / ezpublish / documentation / customization / tips & tricks / fetching current user


Fetching current user

These documentation pages are no longer maintained. Please visit the new documentation site.

A fetch function has been added for the user module, this means that the current users attributes can be fetched with.

{fetch('user','current_user')}

For instance do

{fetch('user','current_user')|attribute(show,1)}

to get the attributes.

Comments

links on "fetch" and "attributes" doesn't work

*subj*

Contents

Customization

Access control
eZ publish API Documentation
Content structure
Custom design
Components
Tips & Tricks
    Debugging templates
    Javascript in templates
    Fetching current user
    Showing related objects
    Show which templates are used
    Fetching the ID of the parent
    One Article Folder
    Creating tree menus
    How can I use my own php script insid...
    Hiding attribute content
    Splitting an article over several pages
    Accessing section id in pagelayout
    List articles in folder
    Creating nice URLs
    Alt tag on images
    Improve the pagelayout.tpl
    Clean HTML tags
    Insert javascript call inside ezpub d...
    3rd party applications
    Fetch Function examples
    Display more than 15 items on your co...
    Including PHP files in templates
    Redirecting after content publishing
    HowTo see if article has an image
    Date and Time Formats
    Forms processing example: store user...
    Adjust Timezone
    Adding a Remove Button/Image
    Find the age in years for an object
    Editing, creating and removing conten...
    Indexing binary files with IFilters o...
Troubleshooting


Created

16/04/2003
8:40:39 pm
by Jan Borsodi

Last updated

04/07/2003
3:50:18 pm
by Bård Farstad

Authors

Jan Borsodi
Bård Farstad



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.