INFO: Version en.xModule type:

Editing a text file

A text file contains all defined text modules and lists them in a table. These outsourced texts are used, for example, for editing buttons, information texts in the editor, etc. and can therefore be managed globally.

Editing a text file
Editing a text file

Operation

You can create, edit and delete text modules in the 'Draft' tab. Via the 'Metadata' tab, you can access the metadata for the text file, which is only relevant because of the title (see text directory). The 'Properties' tab allows you to define various file properties (online status, etc.), which will not be discussed further here.

'Copy':

By clicking on the copy symbol Icon for a text entry, you can duplicate this entry. The copy is created below the current text module and can then be provided with a new (not yet existing) text module name and associated text. Make sure that no text module names occur more than once within the text file. The first occurring text module is always used.

'Delete':

You can remove a text entry from the text file by clicking on the recycle bin symbol Icon. After saving the text file, the text entry is irrevocably removed from the text file.
If this text module is still used within the project, only the text module name (e.g. editor_delete) and no longer the (language) text defined for it is displayed in its place.

'Input field (gray background)':

In this field, you enter the name of the text module via which the assigned text can be addressed. Changing the name of the text module requires an adjustment of the corresponding calls via the framework function "wTexts::getTextUser".

'Input field (white background)':

In this field, you store the output text for the respective text module. This text is output instead of the text module called via the framework function " wTexts::getTextUser".