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

Yuri yurj at alfa.it
Tue Apr 8 07:13:34 BST 2014


> 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/




More information about the Eprints-tech mailing list