EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10355


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Need help in Lookup script


CAUTION: This e-mail originated outside the University of Southampton.
Dear,

How to add the additional/custom fields in the lookup script to populate/auto fill in those custom fields. Is it the best way to add directly in /opt/eprints3/cgi/users/lookup/ ....

how the best way to create another or in the same script of loopup based on email id or other ids to fill the others fields

Earlier I created a separate field called division like this 
{
	name => 'divisions',
	type => 'subject',
	multiple => 1,
	top => 'divisions',
	browse_link => 'divisions',
},

then I move that field into other fields, how can we transfer the data effectively ?

{
        name => 'jgucreators',
        type => 'compound',
        multiple => 1,
        fields => [
                {
                        sub_name => 'name',
                        type => 'name',
                        hide_honourific => 1,
                        hide_lineage => 1,
                        family_first => 1,
                },
                {
                        sub_name => 'id',
                        type => 'text',
                        input_cols => 20,
                        allow_null => 1,
                },
                {
            			sub_name => 'author_category',
            			type => 'subject',
	        			top => 'authorcat', # Links to your existing 'authorcat' subject tree
        },
        {
            sub_name => 'division',
            type => 'subject',
            top => 'divisions', # Links to your existing 'divisions' subject tree
        },
        {
            sub_name => 'scopus_id',
            type => 'text',
            input_cols => 20,
            allow_null => 1,
        }
        ],
        input_boxes => 4,
},

Thanks and Best Regards,
Abid Fakhre Alam