How to hide the avatar filename+extension?

Responses

1. Hi, you can remove the avatar

Hi, you can remove the avatar file name from displaying in your profiles by adjusting the profile body output using Contemplate.

2. How to hide the avatar filename+extension?

Thank's for your answer, but as i'm a rookie on Drupal and PHP, how can i do that?

3. Once you have Contemplate

Once you have Contemplate installed and enabled, go to Admin > Content > Types. Then click on the Template tab on this page. Click on Create Template for your profile type.

Click on the Body link and then check the box to Affect Body Output.
Once you do that, you will be able to add content/code to the Body field.

Next, click on the Body Variables link and this will display a complete list of variables that are available for your profile content type. It basically breaks apart every aspect of you content type so you can choose what you want to display. When you click on a variable, it will add the correct php code to the Body Variable field.

Scroll down and find the field variables for your profile content type that you want to display. Look for the ones that end in ['view']. For example my "about me" field looks like this:
$node->field_about_me[0]['view']

When I click on it, it adds this to my body field:
<?php print $node->field_about_me[0]['view'] ?>

You can arrange your fields any way you like, add styling, etc. By not adding your avatar field, it will be removed from the display.

Hope this helps. Let me know if you run into any problems.

4. Hide fields in contemplate

Thank's Dorien,
Now i understand how contemplate works.
I think, there's another way of do it.
In css you can hide a field using a code like this:

.class_of_field {
display: none;
}

Chambel