|
a. Listing Input Form Modification |
Top Previous Next |
|
In this section you will learn how to:
• Change Field Caption;
• Add a New Field to the Input Form.
See the default listing input form on the Pic.1. The /templates/[Theme Name]/classifieds/input_form_default.tpl file is used to display this form.
The administrator can change field names, add new fields to this form and modify look and feel of a field via admin panel.
Pic.1. Default Listing Input Form.
Change a Caption of a Field
For instance, you want to change 'Job requirements' to 'Requirements', and 'Salary' to 'Type of Salary' on the 'Add Listing' page (Pic.1.).
The 'Job requirements' field is a specific field for the 'Job' listing type.
To find Job specific fields:
• Go to Admin Panel -> Listing Configuration -> Listing Types -> Job
To edit a field caption:
• Click on the Edit button against the field name
• Change the caption
The field caption will be automatically changed in the template (see Pic.2).
Notice: If you change IDs of the existing fields, you also will have to change them in the templates where these IDs are used.
Pic.2. Changed Names of the Existing Listing Fields.
Add New Listing Field
To add a new field, e.g., 'Age' field (string type):
• Go to Admin Panel -> Listing Configuration -> Listing Types -> Job
• Add new field to this type ('ID' ='Age', 'Caption'='Age', 'Type'='String')
The field will be automatically changed in the search form display.
Pic.3 shows how the field will look like:
Pic.3. Added Listing Field.
|