Easy Expat Blogs
                     

This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

 
My picture!

What's happening abroad? EasyExpat talks about events and information on expat life.

Categories
Europe [23]
Expat [9]
Asia [2]
EasyExpat [4]
Blogs [19]
North America [4]
Oceania [1]
Central America [0]
Africa [0]
Middle East [1]
South America [0]
 
Archives
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
June 2007
May 2007
February 2007
December 2006
November 2006
October 2006
September 2006
July 2006
June 2006
May 2006
March 2006
November 2005
October 2005
September 2005
August 2005
July 2005
 
TagCloud
abroad august based beer business city come company countries country english europe event expat expats experience festival festivals financial flemish france free freelance french home hsbc html india information international internet language living local london munich music opportunities party people rules smoking start survey work working world writing year years

« | »

How to show the user picture

easyexpat | 01 August, 2005 14:07

It is possible for users to select a picture to represent them, as some kind of "avatar". The picture must be selected from the list of pictures currently available in the "resource center".

The picture can be shown anywhere in our templates, and the templates developed by EasyExpat (easyexpat, std_2col, std_rightcol, std_leftcol... etc) show it in header.template or footer.template with the description of the user if you put any:

<!-- Display the personal picture -->

{assign var=blogOwner value=$blog->getOwnerInfo()}
{assign var=userName value=$blogOwner->getUsername()}
<!--<h4>{$userName}</h4>-->
<br />
{if $blogOwner->hasPicture()}
{assign var=picture value=$blogOwner->getPicture()}
<img src="{$url->resourcePreviewLink($picture)}" alt="My picture!" />
<br /><br />
{/if}
{assign var=userDescription value=$blogOwner->getAboutMyself()}
{$userDescription }

<!-- END Display the personal picture -->

If interested in this feature, you can add the following Smarty code anywhere in your favourite template set.

You can find other tips and tricks in the pLog's documentation.

If you are looking for more help on EasyExpat's blogs, do not forget that we have a dedicated forum.

Add this RSS to Yahoo!    Add this RSS to Google    Add this RSS to Netvibes    Add this RSS feed to your favorites on Technorati

 
Calendar
« August 2005 »
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
 
 
Recently...
Different legislation in Europe for immigrants
Largest ever survey of expats - Final results
Top Summer Festivals in Europe this August
Smoking bans- no butts about it
Top European Festivals this July
Dining with a difference
Malaysia, my second home- enjoy a ten year holiday in Malaysia
June: End of the paper airline ticket, welcome to electronic boarding pass for everybody
Top Spring Festivals in Europe this June
Easy Expat on French TV - Direct8: Facile, la vie
 
Links
Asia
Asia Expats Forum
Australia
Australia-Australia
Expat Communities
Easy Expat
France
Les Soirées du 7ème
Kunveno
UK
italianialondra.com
Craig List London
Londynek
Deutsche In London
London Heute
Londra Web
Foro London
UK Yankee
Bienvenue A Londres
London Macadam
Ici-Londres
CanalExpat
USA
Amerique-Immigration
Entre USA
Entre SF
Entre NY
Biba4Network
Voila NY
 
Syndicate
RSS 0.90
RSS 1.0
RSS 2.0
Atom 0.3

 
Powered by LifeType  Designed by EasyExpat