<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi all,
    <div class="moz-forward-container">
      <p><span id="result_box" class="" lang="en"><span title="Je
            souhaite modifier le rendu champ creator pour y ajouter un
            indentifant comme indiqué dans cette page.">I want to modify
            the rendering field creators to add an ID ("ppn") as
            indicated in this page. </span><span title="J'ai donc
            défini dans mon eprint_field.pl cette configuration : ">So I
            defined in my eprint_field.pl this configuration:</span></span></p>
      <p><i><span id="result_box" class="" lang="en"><span title="J'ai
              donc défini dans mon eprint_field.pl cette configuration :
              ">{<br>
                          'name' =&gt; 'creators',<br>
                          'type' =&gt; 'compound',<br>
                          'allow_null' =&gt; 1,<br>
                          'multiple' =&gt; 1,<br>
                          'fields' =&gt; [<br>
                                        {<br>
                                          'sub_name' =&gt; 'ppn',<br>
                                          'type' =&gt; 'text',<br>
                                          'input_cols' =&gt; 10,<br>
                                          'allow_null' =&gt; 1,<br>
                                        },<br>
                                        {<br>
                                          'sub_name' =&gt; 'name',<br>
                                          'type' =&gt; 'name',<br>
                                          'hide_honourific' =&gt; 1,<br>
                                          'hide_lineage' =&gt; 1,<br>
                                          'family_first' =&gt; 1,<br>
                                          },<br>
                                        },<br>
                                        {<br>
                                          'sub_name' =&gt; 'id',<br>
                                          'type' =&gt; 'text',<br>
                                          'input_cols' =&gt; 20,<br>
                                          'allow_null' =&gt; 1,<br>
                                        },<br>
                                      ],<br>
                                      'input_boxes' =&gt; 4,<br>
                                       'render_value' =&gt; 'idref',<br>
              ...</span></span></i></p>
      <p><i><span id="result_box" class="" lang="en"><span title="J'ai
              donc défini dans mon eprint_field.pl cette configuration :
              ">}</span></span></i></p>
      <p><br>
        <span id="result_box" class="" lang="en"><span title="J'ai donc
            défini dans mon eprint_field.pl cette configuration : "><span
              id="result_box" class="" lang="en"><span>but I can not
                write the code to display the authors' data in the
                following form:</span><br>
              <span>"Name, First name (ppn) and  Name, First name and 
                Name, First name (ppn)" for example.</span></span></span></span></p>
      <p><span id="result_box" class="" lang="en"><span title="J'ai donc
            défini dans mon eprint_field.pl cette configuration : "><span
              id="result_box" class="" lang="en"><span><span
                  id="result_box" class="" lang="en"><span class="">I
                    started writing things like this:</span><br>
                  <i><span class="">$c-&gt;{idref} = sub<br>
                      {<br>
                      <br>
                      my ($repo, $field, $value, $allangs, $nolink,
                      $eprint) = @_;<br>
                      my @authors;<br>
                      <br>
                      for( @{ $eprint-&gt;value( "creators" ) } )<br>
                      {<br>
                      <br>
                            push @authors, {<br>
                              author =&gt;
                      EPrints::Utils::make_name_string( $_-&gt;{name} ),<br>
                            };<br>
                      return \@authors;<br>
                      }<br>
                      <br>
                      }</span></i><span></span><br>
                  <br>
                  <span>but it does not work....</span></span></span><br>
              <br>
              <span class="">Any help or example will be welcome!</span></span></span></span></p>
      <p><span id="result_box" class="" lang="en"><span title="J'ai donc
            défini dans mon eprint_field.pl cette configuration : ">Jean-Marie<br>
          </span></span></p>
      <p><br>
      </p>
      <pre class="moz-signature" cols="72">-- 

***********************************************
Jean Marie Le Bechec
Service Commun de la Documentation
Responsable ingenierie documentaire
&amp;
Direction du Systeme d'Information
Referent Etudes

Institut National Polytechnique de Toulouse
6 allee Emile Monso - bp 34038 -
31029 Toulouse cedex 4
Tel : 05 34 32 31 16
Tel Port : 06 40 81 35 68
Mail : <a class="moz-txt-link-abbreviated" href="mailto:lebechec@inp-toulouse.fr" moz-do-not-send="true">lebechec@inp-toulouse.fr</a>
*********************************************** 
</pre>
    </div>
  </body>
</html>