EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02845


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

[EP-tech] Re: How to remove link Login | Create Account


I already comment the :
<epp:phrase id="dynamic:not_logged_in"><a href="{$config{userhome}}">Login</a> <epc:phrase ref="Plugin/Screen:tool_divide" /> <a href="{$config{http_cgiurl}}/register">Create Account</a></epp:phrase>

how did you commented it?

Il 08/04/2014 07:43, Gilles Fournié ha scritto:
Hi,

I had the same problem as yours.

I don't know if it's the right way to do it, but I achieved it by commenting out the line :

    $c->{plugins}->{"Screen::Register"}->{actions}->{register}->{appears}->{key_tools}
    = 150;

in the file :

    archives/ARCHIVEID/cfg/cfg.d/dynamic_template.pl

Best regards
GF


Le 08/04/2014 05:29, Ajunk Pracetio a écrit :
Hi, my name Agung from Indonesia.

I just learn how to change template for my eprints. I'd like to remove the link Login | Create Account from the template because I already made it. It only for not logged in condition.

I already comment the :
<epp:phrase id="dynamic:not_logged_in"><a href="{$config{userhome}}">Login</a> <epc:phrase ref="Plugin/Screen:tool_divide" /> <a href="{$config{http_cgiurl}}/register">Create Account</a></epp:phrase>

at eprints\lib\lang\en\phrases\system.xml

But still doesnot disspear.

Please any help

Thank you

--
Life isn't valuable if you don't have someone to care


*** 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/
*** EPrints developers Forum:http://forum.eprints.org/



*** 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/
*** EPrints developers Forum: http://forum.eprints.org/