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

Ajunk Pracetio prazetyo at gmail.com
Tue Apr 8 10:26:05 BST 2014


Finnaly, the link "login | create account" can dissapear after I comment
out dynamic_template.pl. Just like Gilles Fournié say

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

After that, I run :
bin/epadmin reload 'ARCHIVEID'
bin/generate_static ARCHIVEID
bin/generate_views ARCHIVEID
bi/generate_abstracts ARCHIVEID

and RESTART apache server. Maybe it need time to work.

Best regards
agung


On Tue, Apr 8, 2014 at 1:45 PM, Ajunk Pracetio <prazetyo at gmail.com> wrote:

> I already do that, but the still exist login | create account. Is it must
> be bin/epadmin, bin/generate_static, bin/generate_view, and
> bin/generate_abstract ???
>
> @amirul: saya hanya tidak ingin menampilkan menu itu saja mas..bukan
> men-disablenya
>
>
> On Tue, Apr 8, 2014 at 1:13 PM, Yuri <yurj at alfa.it> wrote:
>
>> > 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/
>>
>>
>> *** 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/
>>
>
>
>
> --
> 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/
>
>


-- 
Life isn't valuable if you don't have someone to care
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140408/2fb67732/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eprints-login-account.jpg
Type: image/jpeg
Size: 64673 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140408/2fb67732/attachment-0001.jpg 


More information about the Eprints-tech mailing list