Modify Text Used in Register.php and Upload.php? Modify Text Used in Register.php and Upload.php?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Modify Text Used in Register.php and Upload.php?

Started by Hirsch, June 24, 2012, 04:25:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hirsch

Greetings --

Having searched the documentation and the forums, I cannot see a way to do this (it is completely possible my search parameters were wrong when searching the forum, but I did try):

I cannot find how to modify the text displayed on the Register or Upload pages (I did a quick look at the .php, but only see code, not the actual text). I would like to include a paragraph or two on each of these, basic "In addition, you agree to ...". I saw some very complex things for someone who was using DIFF to merge Coppermine with his site, but I'm not doing anything as complex as that.

Thanks in advance --

Ken

Αndré

You can find all text in the language files (have a look at the lang/ directory).

Hirsch

I think I found those files, but it is hard to know what is displayed on which pages, and I do not see a way to add my own text anywhere.

Αndré

There are 2 possibilities:
1.) Either adjust the language strings in the language files
2.) Add hard-coded text to those files (and possibly overwrite existing language strings, depending on what exactly you try to achieve)


Quote from: Hirsch on July 04, 2012, 08:32:17 PM
it is hard to know what is displayed on which pages
Just use your text editor's search feature to find the language strings. Usually they appear at just one place.


If you need a more detailed answer, post more details.