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
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
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
Offline
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
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
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
Offline
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
Offline
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
That's in the Template tab then Create ... etc
Offline
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