[EP-tech] Re: Modify Default Pins

Denis Pitzalis - STARC d.pitzalis at cyi.ac.cy
Fri Apr 13 14:03:33 BST 2012


Thanks all for your help!

Even more difficult, I would like to have a div in my top right corner with

Login or Welcome Denis Pitzalis

depending if I'm logged in or not. How can I modify the default
template to obtain that?

Best regards,
Denis

On Fri, Apr 13, 2012 at 4:48 AM, Sheraaz Buksh
<sheraaz.a.buksh at usp.ac.fj> wrote:
> Thanks. That just solved my issue.
>
>
>
> Regards
>
>
>
> Sheraaz
>
>
>
> From: Matthew Brady [mailto:Matthew.Brady at usq.edu.au]
> Sent: 13 April 2012 10:40 AM
> To: Sheraaz Buksh
> Subject: RE: Modify Default Pins
>
>
>
> in the file... /opt/eprints3/archives/xxxxx/cfg/cfg.d/registration.pl change
> allow_web_signup from 1 to 0
>
> # Allow users to sign up for an account on
>
> # the web.
>
> # NOTE: If you disable this you should edit the template file
>
> #   cfg/template-en.xml
>
> # and the error page
>
> #   cfg/static/en/error401.xpage
>
> # to remove the links to web registration.
>
> $c->{allow_web_signup} = 0;
>
>
>
> Then modify the following files... The files as noted in the comments are
> not correct.
>
> in the file... /opt/eprints3/lib/defaultcfg/lang/en/phrases/dynamic.xml and
> in the file... /opt/eprints3/archives/xxxxx/cfg/lang/en/phrases/dynamic.xml
> remove the link to 'Create Account'
> WAS
>
>   <epp:phrase id="dynamic:not_logged_in">
>
>     <a href="{$config{userhome}}">Login</a> |
>
>     <a href="{$config{perl_url}}/register">Create Account</a>
>
>   </epp:phrase>
>
>
> NOW
>
>   <epp:phrase id="dynamic:not_logged_in">
>
>     <a href="{$config{userhome}}">Login</a>
>
>   </epp:phrase>
>
>
>
>
>
>
>
>
>
>
>
> Matt Brady
>
> Analyst Programmer | Application Support and Development
>
> University of Southern Queensland | Toowoomba 4350 QLD Australia
>
>
>
>
>
>
>
>
>
> From: eprints-tech-bounces at ecs.soton.ac.uk
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Sheraaz Buksh
> Sent: Friday, 13 April 2012 7:36 AM
> To: eprints-tech at ecs.soton.ac.uk
> Cc: John Salter
>
>
> Subject: [EP-tech] Re: Modify Default Pins
>
>
>
> I did disable that option. However, the “Create Account” link still appears.
>
>
>
> After disabling web signup clicking on the Create Account link throws up an
> error message saying registration is disabled on the system. I would like to
> completely remove the Create Account link.
>
>
>
> Regards
>
>
>
> Sheraaz
>
>
>
> From: eprints-tech-bounces at ecs.soton.ac.uk
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of John Salter
> Sent: 12 April 2012 9:09 PM
> To: 'eprints-tech at ecs.soton.ac.uk'
> Subject: [EP-tech] Re: Modify Default Pins
>
>
>
> Take a look at:
>
> ~/archives/ARCHIVEID/cfg/cfg.d/registration.pl
>
> There's an option 'allow_web_signup' that might do what you want (instead of
> editing the pins)?
>
>
>
> Cheers,
>
> John
>
>
>
>
>
>
>
> ________________________________
>
> From: eprints-tech-bounces at ecs.soton.ac.uk
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Sheraaz Buksh
> Sent: 12 April 2012 04:23
> To: eprints-tech at ecs.soton.ac.uk
> Subject: [EP-tech] Modify Default Pins
>
> Hi All
>
>
>
> I was wondering if there was a way to modify default pins in the Eprints
> system.
>
>
>
> I am using Eprints 3.2.8 and I need to get rid of the “Create Account” link.
>
>
>
> Regards
>
>
>
> Sheraaz
>
>
>
>
>
> ________________________________
>
> This email (including any attached files) is confidential and is for the
> intended recipient(s) only. If you received this email by mistake, please,
> as a courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily reflect
> those of the University of Southern Queensland. Although all reasonable
> precautions were taken to ensure that this email contained no viruses at the
> time it was sent we accept no liability for any losses arising from its
> receipt.
>
> The University of Southern Queensland is a registered provider of education
> with the Australian Government (CRICOS Institution Code No's. QLD 00244B /
> NSW 02225M)
>
>
> *** 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/
>



-- 
----------------------
Denis Pitzalis
Information Technology Consultant

UNESCO - http://www.unesco.org
Paris, France - Tel: +33145681816

Business Strand Coordinator
3D-COFORM - http://www.3dcoform.eu

VAST 2011 - http://www.vast-conference.eu



More information about the Eprints-tech mailing list