Thanks for any assistance or bright idea's, appreciate your time,
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-dev-general@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.
Depending on what you're doing:- User chooses a directory (single option), use folder list- User can dynamically choose X directories, use subform plus folder list- User sets an option per discovered directory (and you list each directory inline), create a JFormField subclass with your needed logic (though I have to admit as I type this I don't know how well you'd be able to handle the data storage of this one, you might need to hook into other plugin events during the save process to make sure it's all stored right)
On Thu, Feb 8, 2018 at 3:13 PM, Russ Winter <wint...@gmail.com> wrote:
Hey Folks,Is it possible to dynamically generate fields in a plugin?
What I would like to achieve is to use JFolder to read through a directory and acquire a list of it's sub-directories, then on the plugins page display that list of discovered folders with an option.Within a plugins XML file I don't think you can use any form of for/foreach and each field is normally hardcoded, but in this case the folder list to be displayed would be different depending on the site.--Thanks for any assistance or bright idea's, appreciate your time,
Regards,
Russ Winter
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsubscribe@googlegroups.com.
To post to this group, send email to joomla-dev-general@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.