TUTORIAL - Displaying Icons ONLY to AUTHORS of the page

This tutorial shows how to check who is viewing the page, and if it is the author

Created by: Anonymous, Last modification: 13 Mar 2005 (13:54 UTC) by fire

I wanted an: "Edit your profile picture" on users homepages to be displayed ONLY if it was the actual USER viewing his/her webpage -

I accomplished this with the following code in the TPL.
{if $fHomepage == $gTikiUser->mInfo.user_id}
you are the owner!! So put img tags

Spiderr.... how can I accomplish this in the PHP code instead of the tpl?

Related Items

Documentation » Technical Documentation

Documentation geared towards developers and people who want to learn about the core processes of bitweaver

  •    •  

Documentation » User Documentation

Documentation written by users for users. These are generally entry level documents.