EPrints Technical Mailing List Archive

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

Message: #01581


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

[EP-tech] {Disarmed} summary page with link


Hi all,

In my EPrints database I have a field 'catalogue_id' (e.g. ID00021) and I would like to create a link on the summary page:
<a href="" link</a>

In EPrints 3.0.5 I used the following code (/cfg/cfg.d/eprint_render.pl):

     my $catalogue_link = $session->make_element( "div", class=>"ep_block",
     style=>"margin-bottom: 1em" );
     my $cataloguelink = "MailScanner has detected a possible fraud attempt from "3c.gmx.net" claiming to be http://mycatalogue.com/search?" .  $eprint->get_value( "catalogue_id" );
              $catalogue_link->appendChild( $session->html_phrase(
                        "page:catalogue_link",
                        url ="" $session->make_text( $cataloguelink ),
                        link => $session->render_link( $cataloguelink ) ) );
              $page->appendChild( $catalogue_link );
              
How can I do this in EPrints 3.3.x?
The summary page will be created via:
/cfg/cfg.d/eprint_render.pl
/cfg/citation/eprint/summary_page.xml

Thanks in advance.

BR,
Marc