replacing profile's foaf viewtype

Hi,

I'm learning elgg and trying to enhance (replace) the profile 's FOAF viewtype at url like:
http://localhost/elgg-1.8.14/profile/Tintin?view=foaf

I added the file in mod/profile/views/foaf/profile/default.php but it isn't used by Elgg.

I added the file in /views/foaf/profile/default.php but it isn't used by Elgg.

Elgg is only using the file /views/foaf/page/default.php

Could you drive me on the right way please.
Thx, Cyrille.

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking