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: Ranju Upadhyay <Ranju.Upadhyay AT nuim.ie>
Date: Thu, 02 Oct 2008 15:49:23 +0100


Threading: Re: [EP-tech] equivalent file of ArchiveRenderConfig.pm from doras AT dcu.ie
      • This Message

This is a multi-part message in MIME format.

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?ThanksRanju.NUIM,Ireland.----- Original Message -----From: "doras 
AT dcu.ie" <doras AT dcu.ie>Date: Thursday, October 2, 2008 2:45 
pmSubject: Re: [EP-tech] equivalent file of ArchiveRenderConfig.pmTo: 
"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. > 

ATTACHMENT: message.html!


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