Skip to content
GetSimpleCMS-CE edited this page Jan 5, 2025 · 1 revision

DY Website Custom Fields

Description

The DY Website Custom Fields plugin allows a website developer or user to use website custom fields to extend GetSimple CMS's ability to manage global website settings and information.

Possibilities

  • Create and use eight types of custom fields: The DY Website Custom Fields plugin allows you to create an unlimited number of custom fields, choosing from eight available types:
    • text field;
    • long text field;
    • drop-down list;
    • checkbox;
    • WYSIWYG editor;
    • image;
    • file;
    • link.
  • using separators: Data stored in fields of this type is not available for use in the design theme and is used only for visual organization of the logical division of custom fields into groups on the page for editing custom field values. In addition, using separators helps to improve the convenience of working with custom fields when there are a large number of them;
  • Multilingual web user interface: by default, the DY Website Custom Fields plugin includes two user interface languages ​​- English and Russian, automatically selected based on the GetSimple CMS settings. To enable support for other languages, simply create the required language files, in accordance with the plugin development guide.

Usage

To start using DY Website Custom Fields, you need to install the I18N Custom Fields plugin (the plugin has been tested with I18N Custom Fields version 1.9.3). Configuration

After installing the DY Website Custom Fields plugin, a new item Configure Website Custom Fields will be added to the menu on the Plugins page . Clicking on it will take you to the website custom fields configuration page. Here you can create the required number of custom fields. You can later change the number or types of the created fields. Editing

To edit the custom field values, click the Edit button to the right of the Custom Fields Configuration page header. This will take you to the Custom Fields Editing page, which is also accessible from the Website Custom Fields menu on the Settings page .

To use the created custom fields in the website theme or developed plugins, the following functions are available:

  • get_website_custom_field('myname')- outputs the value of the required website custom field;
  • return_website_custom_field('myname')- returns the value of a custom website field for further work with it.

Clone this wiki locally