XF 2.1 rendering styles in checkbox

shqawe

Member
I'm trying to rendering styles name in checkbox in Admin CP options i found this code in appearance options

PHP:
XF\Option\Style::renderRadio

i changed it to

PHP:
XF\Option\Style::renderCheckbox

but i got error any help in that please
 
Thanks for your reply

my option is to choose which style want addon work with.

and this is the error when i used renderCheckbox

PHP:
DEBUG: cvp_style - Callback XF\Option\Style::renderCheckbox is invalid (error_invalid_method).
 
You might want to check the callback class to see if there is any method named renderCheckbox available.
 
i already checked but there isn't. but i think it need to create new php class file but really i don't know what is the way to do it:confused:.
 
Back
Top Bottom