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

Tim Brody tdb2 at ecs.soton.ac.uk
Tue May 8 12:16:54 BST 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120508/e3d1bd56/attachment.bin 


More information about the Eprints-tech mailing list