Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
i want to make upload function to my plugins, the function is upload a config.cfg as router configuration to my server.
i already make a tab in settings page, and i know the form is an array.
how to using 'method' to make a upload button?
You can look at examples in include/global_form.php
'import_file' => array(
'friendly_name' => 'Import Template from Local File',
'description' => 'If the XML file containing template data is located on your local machine, select it here.',
'method' => 'file'
),
cigamit wrote:You can look at examples in include/global_form.php
'import_file' => array(
'friendly_name' => 'Import Template from Local File',
'description' => 'If the XML file containing template data is located on your local machine, select it here.',
'method' => 'file'
),