shqawe Member Licensed customer Jul 8, 2019 #1 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
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
TickTackk Well-known member Licensed customer Jul 8, 2019 #2 What does your option look like and what is the error?
shqawe Member Licensed customer Jul 8, 2019 #3 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).
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).
TickTackk Well-known member Licensed customer Jul 8, 2019 #4 You might want to check the callback class to see if there is any method named renderCheckbox available.
You might want to check the callback class to see if there is any method named renderCheckbox available.
shqawe Member Licensed customer Jul 8, 2019 #5 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.
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.