Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

Re: [EP-tech] equivalent file of ArchiveRenderConfig.pm

From: "Roman Chyla" <roman.chyla AT gmail.com>
Date: Fri, 3 Oct 2008 00:35:17 +0200


Threading: [EP-tech] equivalent file of ArchiveRenderConfig.pm from Ranju.Upadhyay AT nuim.ie
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k91NZI500f0e1e00ea4abd5596f305f3da1304-ea0115e90810021535l7fe32e3aj80a580d59668045a%40mail.gmail.com%3E
*** EPrints community wiki - http://wiki.eprints.org/

Have you restarted the web-server after editing eprints_render.pl?

On Thu, Oct 2, 2008 at 4:49 PM, Ranju Upadhyay <Ranju.Upadhyay AT 
nuim.ie> wrote:
> Thanks Rachel.I am still unsuccessful though :-(
>
> The field that I am trying not to show on the item view is
> "last_modified".However when I go to look in eprint_fields.pl , 
I do not see
> this field and neither do I see the corresponding phrase for this field in
> the xml file.However when I look in the database in eprint table I do see
> four fields which I think are related to this i.e. the fields 
lastmod_year,
> lastmod_month, lastmod_day, lastmod_hour.
>
> In the eprint_render.pl, all I had done was to comment out this chunk:
>
>   #if( $eprint->is_set( "lastmod" ) )
>         #{
>         #       $table->appendChild( $session->render_row(
>         #               $session->html_phrase( 
"eprint_fieldname_lastmod" ),
>
>         #       $eprint->render_value( "lastmod" ) ) );
>         #}
>
> thinking that it will do what I want to do but it does not!
>
> Would you or anyone else know, what do I need to do to stop it from 
showing?
>
> Thanks
> Ranju.
> NUIM,Ireland.
>
>
> ----- Original Message -----
> From: "doras AT dcu.ie" <doras AT dcu.ie>
> Date: Thursday, October 2, 2008 2:45 pm
> Subject: Re: [EP-tech] equivalent file of ArchiveRenderConfig.pm
> To: "EPrints.org Technical List" <eprints-tech AT 
ecs.soton.ac.uk>
>
>> *** http://www.eprints.org/tech.php/id/%3CEMEW-
>> k91EPm4262d99f5197ccb2125d6aec5af4bdb0-48E4CBDC.60903%40dcu.ie%3E
>> *** EPrints community wiki - http://wiki.eprints.org/
>>
>> Hi Ranju,
>> I think it should work if you run epadmin reload archivename and
>> then
>> generate_abstracts.
>>
>> Rachel
>>
>>
>> Ranju Upadhyay wrote:
>> > Hi List,
>> >
>> > Could someone pls tell me what is the equivalent file in
>> ep3  for
>> > ArchiveRenderConfig.pm of ep2?I thought it was
>> eprint_render.pl but
>> > looks like I am wrong!
>> >
>> > All I am trying to do is add/remove some fields for item
>> display page
>> > i.e. the view that one gets for each item in the repository
>> after
>> > browse or search.But whatever changes I make in the file , it
>> does not
>> > reflect on this page.I fired all the generate scripts i.e.
>> > generate_view, generate_static, generate_abstract etc and even
>> tried
>> > reloading repository and re-starting httpd after making the
>> > changes.But  no success.
>> >
>> > Could someone point me in the right direction?
>> >
>> > Thanks
>> > Ranju
>> > NUIM,Ireland.
>>


[index] [prev] [next] [options] [help]