Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

textfile.ini [TextFileSettings]

The settings of [TextFileSettings] in textfile.ini: TextFileEnabled, FileName, FilePath, FileFieldSeparator, DefaultUserGroupType, DefaultUserGroup, LoginAttribute, PasswordAttribute ...

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/textfile/TextFileSettings.md

On this page

textfile.ini [TextFileSettings]

The block [TextFileSettings] of settings/textfile.ini, with 11 setting(s).

Never edit settings/textfile.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/textfile.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/textfile.ini.append.php for one siteaccess,
  • extension/<extension>/settings/textfile.ini.append.php in an extension (read when the extension is active).

TextFileEnabled

Set to true if use the textfile login handler

Default: true.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
TextFileEnabled=true
*/ ?>

FileName

textFile name

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
FileName=
*/ ?>

FilePath

Where to find the text file,could be any directory under your Exponential
root directory. If the FilePath is root, the file should be saved under
Exponential root directory.
Example: FilePath=var

Default: root.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
FilePath=root
*/ ?>

FileFieldSeparator

Could be tab, ';', ',', '\' or other string separator
Example: FileFieldSeparator=;

Default: tab.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
FileFieldSeparator=tab
*/ ?>

DefaultUserGroupType

Could be id or name

Default: id.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
DefaultUserGroupType=id
*/ ?>

DefaultUserGroup

Default place to store users from textfile. Could be object id or group name,
depends on DefaultUserGroupType.

Default: 11.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
DefaultUserGroup=11
*/ ?>

LoginAttribute

Field column nr for login.

Default: 1.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
LoginAttribute=1
*/ ?>

PasswordAttribute

Field column nr for password.

Default: 3.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
PasswordAttribute=3
*/ ?>

FirstNameAttribute

Field column nr for First name.

Default: 4.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
FirstNameAttribute=4
*/ ?>

LastNameAttribute

Field column nr for Last name.

Default: 5.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
LastNameAttribute=5
*/ ?>

EmailAttribute

Field column nr for email

Default: 2.

<?php /* #?ini charset="utf-8"?
# settings/override/textfile.ini.append.php
[TextFileSettings]
EmailAttribute=2
*/ ?>

Generated by ./console exp:help:examples from settings/textfile.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x