EPrints Technical Mailing List Archive

Message: #00514


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

[EP-tech] Re: Summary page branding with even more confidence (3.3.8)


On Mon, 2012-05-07 at 13:25 +0200, Denis Pitzalis - STARC wrote:
> Dear all,
> 
> for some magic the file
> [archiveID]/cfg/citations/eprint/summary_page.xml is displayed, in my
> template/default.xml as:
> 
> <body>
> <ul class="ep_tm_key_tools">
> <div id="wrapper">
> <div id="header">
> <div class="colmask fullpage">
>   <div class="col1">
>   <div class="ep_summary_content">
>   <div class="ep_summary_content_left"></div>
>   <div class="ep_summary_content_right"></div>
>   <div class="ep_summary_content_top"></div>
>   <div class="ep_summary_content_main">   <------ here it is!
> 
> my question is how can I put some content in ep_summary_content_left?
> for example?

The result of the render() method from any Screen plugins that add
themselves to the summary_{left,right,bottom,top} lists:

sub new
{
...
    $self->{appears} = [
        {
            place => "summary_left",
            position => 400,
        }
    ];
...
}

The boxes are a mechanism for extensions/add-ons to add *static* content
to the summary page (will only be called once when the page is first
generated). To add dynamic content you will have to use AJAX.

-- 
All the best,
Tim

Attachment: signature.asc
Description: This is a digitally signed message part