Settings
Adminetic setting module provides full dynamic setting value feature. Setting can be created, edited and delete on demand
Setting Components
String
Checkbox
Image
Number
Multiple
Tags
Text
Rich Text
Select
Switch
String Setting

Can be used to hold string value (255)
Customization
{
"class": "string_class",
"id": "string_id",
"value": "Adminetic",
"placeholder": "Site Title Here!!"
}
class: class of input[type='text'] input filed
id: id of input[type='text'] input filed
value: default value of input[type='text'] input filed
placeholder: placeholder text of input[type='text'] input filed
Integer Setting

Can be used to holder integer value
{
"class": "my_class",
"id": "my_id",
"value": 1,
"placeholder": "Integer Field",
"max": 10,
"min": 0
}
class: class of input[type='number'] input filed
id: id of input[type='number'] input filed
value: default value of input[type='number'] input filed
placeholder: placeholder text of input[type='number'] input filed
max: max value
min: min value
Text and Rich Text Setting

Can be used to hold text value
{
"class": "my_class",
"id": "my_id",
"value": "Enter some text"
}
class: textarea class
id: textarea id
value: textarea default value
Switch Setting

Can be used to hold boolean value
{
"class": "my_class",
"id": "my_id",
"placeholder": "I am switch !"
}
class: class of switch
id: id of switch
placeholder: placeholder of switch if not provided name of setting is used
Checkbox Setting

Can be used to holder integer value
{
"class": "my_class",
"id": "my_id",
"checked": "1",
"options": {
"1": "Option 1",
"2": "Option 2"
}
}
class: class of checkbox
id: id of checkbox
checked: default checked option
options: checkbox option(contains json of available option where index is value and value is name of the option)
Select Setting

Can be used to hold integer value.
{
"class": "my_class",
"id": "my_id",
"default": "1",
"options": {
"1": "option 1",
"2": "option 2"
}
}
class: class of select
id: id of select
default: Default selected value
Options: Select options where index is select value and value is select value display name
Multiple Setting

Can be used to hold json value
{
"class": "my_class",
"id": "my_id",
"options": {
"1": "option 1",
"2": "option 2"
}
}
class: class of multiple select
id: id of multiple select
Options: Select options where index is select value and value is select value display name
Tag Setting

Can be used to hold json value
{
"class": "my_class",
"id": "my_id"
}
class: class applied to select tag input
id: id applied to select tag input
Image Setting

Can be used to hold image path
{
"class": "my_class",
"id": "my_id",
"fit": {
"width": "300",
"height": "300"
},
"quality": "80"
}
class: class of img filed
id: id of img filed
fit:: consist width and height of image
quality: Quality of image in percentage
Last updated
Was this helpful?