repeating field

  • Thread starter Thread starter Deleted member 10469
  • Start date Start date
D

Deleted member 10469

Guest
Hello, I can create options XenForo but I would like the user to add fields.

Repeating field.

16hwS.jpg


==>

16hxd.jpg




Is there a class in XenForo ready to repeating field please ? :)
As I created a slideshow and I would like to add autan field I want without having to create new options.


16hy7.jpg
 
You can try checking the settings of that option by clicking the "edit" icon next to it.

You'll notice that the option type is a PHP Callback defined as:

XenForo_Option_CensorWords::renderOption

So you'll need to check out the following file to see how that is achieved:

xenforo-root/library/XenForo/Option/CensorWords.php

There is a function in there called renderOption.

You could use that as a starting point.
 
Top Bottom