Announcement

#1 2017-07-22 17:43:41

sunbeam11
Member
South-West Germany
2017-07-21
18

[resolved] How to hide the login link on the entrance page?

Hi there,

do you know a way, how I can hide the login-link on my entrance page?
There is no need for this link to be visible, because its only me, who logs in for administration. So no guest must see this link.
And I could login over a browser-link to identification.php
In the forum I found no solution about it and also no plugin, that makes this possible.
And I dont mean the form block in the menue.

Could you give me a hint, how to get this done?
Thanks in advance.

Piwigo version: 2.9.1
PHP version: 7.0.21
MySQL version: 5.6.36
Theme a.t.m is latest GreyDragon

Offline

 

#2 2017-07-25 17:58:43

windracer
Member
St. Pete, FL
2014-12-28
457

Re: [resolved] How to hide the login link on the entrance page?

You could create a child theme or create a template file to override the the theme's page and remove the login box from your template.

Offline

 

#3 2017-07-25 19:03:39

sunbeam11
Member
South-West Germany
2017-07-21
18

Re: [resolved] How to hide the login link on the entrance page?

Hi windracer,

thanks for your reply and your tips.
So I have to go through this: http://piwigo.org/doc/doku.php?id=dev:e … e_creation
If I would manage to set up such a child theme, how/were to find the entries for that link/login box?
For the way with the template change I have to work myself into smarty, right?
An easy way to have this Link/login box removed is probably not in sight, right?
I tried it with:

Code:

.g-footer-topleft { font-size: 0%; }

It works, but that way is horrible - I better stay away from this.. (shame..)

Thanks for your help.

Offline

 

#4 2017-07-26 21:55:27

eliz82
Member
Romania
2016-04-27
281

Re: [resolved] How to hide the login link on the entrance page?

1) you can hide it using custom CSS {display: none;} of {visibility:hidden;} using plugin "local files editor". this method will be permanent.
2) you can modify your theme file (templates) to delete the link . that will reset when you will update the theme.

Last edited by eliz82 (2017-07-26 21:55:56)

Offline

 

#5 2017-07-30 12:50:59

sunbeam11
Member
South-West Germany
2017-07-21
18

Re: [resolved] How to hide the login link on the entrance page?

Hi windracer and eliz82,

thank you both for your reply.
Went for CSS .g-footer-topleft {display: none;} in Local File Editor and it works perfect.
Will dive deeper into CSS these days...

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact