[EP-tech] Re: Containers
Peter West
pjw at ecs.soton.ac.uk
Fri Mar 15 14:38:10 GMT 2013
Hi
if you are referring to the Containers bazaar package then you could
achieve what you want by creating a new screen plugin based on the
Screen::NewContainer.pm plugin. The action_create subroutine could then
be modified to create the container and the required child containers in
one action. (You can then set the "parentid" field of the child
containers you create).
You do not need to modify the bazaar package (unless you want to) as you
can place your new plugin in your local config i.e.
.../archives/<repo>/cfg/plugins/EPrints/Plugin/Screen/MyNewContainer.pm
n.b. in the new plugin keep the "appears" details the same with the
exception of the "position" which you can use to place your new button
before or after the original one.
Once you have added the appropriate phrases you will have a "new
container" and a "new magazine" button.
Hope that helps
Peter
On 15/03/13 09:32, keerthana reddy wrote:
> Hi,
> We are working with containers for implementation of college
> magazines. The main container is "magazines" with its children
> "magazine1", "magazine2" and so on.Now for each child container; say
> magazine1, there are child containers like "foreword", "editorial
> board", "articles", "messages" as such..What we need is that we want
> to fix these child containers for each magazine that we add.
> For suppose the flow is magazines->magazine1->foreword
> ->editorial board
> ->articles
>
> when we add a "magazine2" under "magazines" it should get the same
> children "foreword","editorial board","articles" by default. By this
> we want to automate the process. Can anyone help us how to arrive at it.
>
> Awaiting the reply
> Thank you
>
> Regards
> M. Keerthana
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
--
Peter J. West
EPrints Services
School of Electronics and Computer Science
University of Southampton, UK
pjw at ecs.soton.ac.uk
More information about the Eprints-tech
mailing list