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.

[EP-tech] Re: <epc:pin ..> help

From: Saminda Abeyruwan <samindaa AT gmail.com>
Date: Thu, 25 Jun 2009 10:03:29 -0400


Threading: [EP-tech] Re: <epc:pin ..> help from tdb01r AT ecs.soton.ac.uk
      • This Message

http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** EPrints community wiki - http://wiki.eprints.org/

--0016364d1ef737b8c3046d2cb036
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi Tim,

Thank you for the reply.

I want to add my own pin to Eprints. This will contain extended requirements
for our project.

If I have a new "pin" say <epc:pin name="extend" />. 
I have included this
"pin" in the default.xml. How can I register a list of pages that 
should be
shown in this "extend" pin for different actions.

Thank you!

Sam

On Thu, Jun 25, 2009 at 4:48 AM, Tim Brody <tdb01r AT ecs.soton.ac.uk> 
wrote:

> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** EPrints community wiki - http://wiki.eprints.org/
> On Mon, 2009-06-22 at 15:44 -0400, Saminda Abeyruwan wrote:
> > http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> > *** EPrints community wiki - http://wiki.eprints.org/
> > Hi,
> >
> > I would like to add a custom "pin" to default.xml.  I 
really
> > appreciate, if I could be given some help or point to any
> > documentation which describes this processes and architecture.
>
> A "pin" is a bit of data that is passed to the phrase method.
>
> In EPrints::Language::phrase() you can see an "$inserts" 
variable that
> is a hash containing a list of pins (/inserts) that are keyname =>
> XHTML.
>
> Could you provide some more detail on what you want to do - pins are
> part of the core API so you shouldn't need to change them?
>
> /Tim.
>
>

--0016364d1ef737b8c3046d2cb036
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Tim,<br><br>Thank you for the reply.<br><br>I want 
to add my own pin to =
Eprints. This will contain extended requirements for our project. 
<br><br>I=
f I have a new &quot;pin&quot; say &lt;epc:pin 
name=3D&quot;extend&quot; /&=
gt;. I have included this &quot;pin&quot; in the default.xml. How can I 
reg=
ister a list of pages that should be shown in this &quot;extend&quot; 
pin f=
or different actions. <br>
<br>Thank you!<br><br>Sam<br><br><div 
class=3D"gmail_quote">On Thu, Jun 25,=
 2009 at 4:48 AM, Tim Brody <span dir=3D"ltr">&lt;<a 
href=3D"mailto:tdb01r AT =
ecs.soton.ac.uk">tdb01r AT 
ecs.soton.ac.uk</a>&gt;</span> wrote:<br><blockquot=
e class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 
204, 204);=
 margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class=3D"im"><a 
href=3D"http://mailman.ecs.soton.ac.uk/mailman/listinf=
o/eprints-tech" 
target=3D"_blank">http://mailman.ecs.soton.ac.uk/mailman/li=
stinfo/eprints-tech</a><br>
*** EPrints community wiki - <a href=3D"http://wiki.eprints.org/" 
target=3D=
"_blank">http://wiki.eprints.org/</a><br>
</div><div class=3D"im">On Mon, 2009-06-22 at 15:44 
-0400, Saminda Abeyruwa=
n wrote:<br>
&gt; <a 
href=3D"http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tec=
h" 
target=3D"_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprint=
s-tech</a><br>
&gt; *** EPrints community wiki - <a 
href=3D"http://wiki.eprints.org/" targ=
et=3D"_blank">http://wiki.eprints.org/</a><br>
</div><div><div></div><div 
class=3D"h5">&gt; Hi,<br>
&gt;<br>
&gt; I would like to add a custom &quot;pin&quot; to default.xml. 
=A0I real=
ly<br>
&gt; appreciate, if I could be given some help or point to any<br>
&gt; documentation which describes this processes and 
architecture.<br>
<br>
</div></div>A &quot;pin&quot; is a bit of data that is 
passed to the phrase=
 method.<br>
<br>
In EPrints::Language::phrase() you can see an &quot;$inserts&quot; 
variable=
 that<br>
is a hash containing a list of pins (/inserts) that are keyname 
=3D&gt;<br>
XHTML.<br>
<br>
Could you provide some more detail on what you want to do - pins are<br>
part of the core API so you shouldn&#39;t need to change them?<br>
<font color=3D"#888888"><br>
/Tim.<br>
<br>
</font></blockquote></div><br>

--0016364d1ef737b8c3046d2cb036--


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