Announcement

#1 2014-06-10 07:57:40

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

[resolved] Add info to the login page

Greetings,

There is a Piwigo website with private photos. Only members of a school my see them.
So, when one arrives to the site, a login is required.
I would like to add at the end of the login page info about how one may obtain the username and password.
(There is ONE username and password for everyone within the school.)

So, how may I modify the login page that it contains info about contacting the school?

THANKS,

Tamás


        Piwigo version: 2.6.2
        Système d'exploitation: Linux
        PHP: 5.3.27  [2014-06-09 22:52:25]
        MySQL: 5.1.56-log [2014-06-09 22:51:03]
        Bibliothèque graphique: External ImageMagick 6.6.0-4

Last edited by asicu.com (2014-06-10 08:02:02)

Offline

 

#2 2014-06-10 09:04:58

paul105
Member
2012-08-17
132

Re: [resolved] Add info to the login page

Hi,

One method would be to change the 'connection settings' text in the box around the username and password

i.e.

$lang['Connection settings'] = "Connection settings";

to

$lang['Connection settings'] = "Connection settings - some information about how to contact the school";

This would need to be done using localfile editor plugin

Hope that helps

paul

Offline

 

#3 2014-06-10 09:20:49

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Add info to the login page

Hi
the other one, which should be tested after paul105's change, is to edit the template file using Localfiles Editor to add your own text wherever you want


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2014-06-10 11:05:54

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

Re: [resolved] Add info to the login page

Thanks, Paul!

This is my local/config/config.inc.php now, after the modifications you suggested:

<?php

/* Dans cette fenêtre, écrivez les informations pour configurer votre galerie Piwigo. */

$conf['top_number'] = 137;

$lang['Connection settings'] = "Demandez le nom d’utilisateur et le mot de passe à l’école.";


?>

-----------
The Login page is still the same, the above info is not shown.

See: 2014.r-de-danse-com

Thanks,

Tamas

Offline

 

#5 2014-06-10 11:10:15

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

Re: [resolved] Add info to the login page

Hi flop25,

Thank you for your answer, as well.

My default template is Stripped & Columns.

Which file is one I should edit? And where is it located?

In the LocalFiles Editor there are only 4 .tpl files... and none seems to be the one I would need.

Thanks,

Tamas

Offline

 

#6 2014-06-10 11:24:04

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Add info to the login page

asicu.com wrote:

Thanks, Paul!

This is my local/config/config.inc.php now, after the modifications you suggested:

<?php

/* Dans cette fenêtre, écrivez les informations pour configurer votre galerie Piwigo. */

$conf['top_number'] = 137;

$lang['Connection settings'] = "Demandez le nom d’utilisateur et le mot de passe à l’école.";


?>

-----------
The Login page is still the same, the above info is not shown.

See: 2014.r-de-danse-com

Thanks,

Tamas

That should be in the LANGUAGE tab


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2014-06-10 11:26:40

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Add info to the login page

asicu.com wrote:

Hi flop25,

Thank you for your answer, as well.

My default template is Stripped & Columns.

Which file is one I should edit? And where is it located?

In the LocalFiles Editor there are only 4 .tpl files... and none seems to be the one I would need.

Thanks,

Tamas

Since it's a child theme of Stripped edit the Stripped's identification.tpl file


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2014-06-10 11:51:40

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

Re: [resolved] Add info to the login page

Yes, flop! Thanks.
I have made the changes in the Languages tab, and, YES, it works!
Thanks a lot.

On the other hand, in LocalFiles Editer I do not see :"Since it's a child theme of Stripped edit the Stripped's identification.tpl file"
Where may I find it?

Greetings,

Tamas

Offline

 

#9 2014-06-10 11:59:42

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Add info to the login page

That's in the Template tab then Create ... etc


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#10 2014-06-10 12:49:54

asicu.com
Translation Team
Budapest, Hungary
2011-08-04
122

Re: [resolved] Add info to the login page

Oh, oké! I was supposed to create a NEW file!
I have started it, however, it seems too complex for me now.
So, I am satisfied with the first version. :)

THANKS a lot!

Tamas

Offline

 

Board footer

Powered by FluxBB

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