Editing inc files

Questions about phpList features (the answer is probably 'Yes!')
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

Editing inc files

Postby jeniveve » 4:01pm, Thu 28 Mar, 2013

Can someone point me to anything that explains what the files in texts do (specifically english.inc) and what the result is of editing said file might be?

I am trying to ensure that the word newsletter(s) is replaced by mailing list(s) throughout.
I started because I was trying to edit the webpage that is shown after someone confirms their being added to the list and I learned that editing this file will do that but should I replace every instance of 'newsletter' or just this one specific instance?

I just want to make sure that if I edit the file, once I replace it on the server my will not revert back or be replaced somehow or that my edits will not affect anything in a negative manner...I know I have to be careful to make sure my edits are of a text nature only but should I be worried about anything else?

Thank you,
Jen
jeniveve
phpLister
 
Posts: 8
Joined: 5:37pm, Wed 27 Mar, 2013

Re: Editing inc files

Postby Dragonrider » 6:54pm, Thu 28 Mar, 2013

Hi Jen,

Basically .inc files are php or text files that are included files.

The language files are .inc's and if you look at them in a TEXT editor (NOT Word or similar) you'll see they set up various variables that phpList uses.

Make a backup before you edit them as you can stop phpList working if you make a mistake, especially if you haven't got the ZIP file that you installed phpList from, eg: if you used Cpanel/Fantastico to install.

Make sure each variable's text is enclosed within a single quote (at each end) and the line finishes with a semi-colon

For example:
Code: Select all
$strEnterName           = 'Please enter your name';
$strEnterEmail          = 'Please enter a valid email address';
$strConfirmEmail        = 'Confirm your email address';


Try not to use an aphostrophe, for example, "it is necessary" rather then "it's necessary" as that is a single quote and will stop phpList working.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Editing inc files -closed-

Postby jeniveve » 10:06pm, Thu 28 Mar, 2013

Thank you very much!
jeniveve
phpLister
 
Posts: 8
Joined: 5:37pm, Wed 27 Mar, 2013


Return to Does phpList do this?

Who is online

Users browsing this forum: No registered users and 0 guests