Method: HTML
Code:check out the html.txt - security reasons the forum is not accepting the codes.
Return: Print
+
Method: JS (Inline)Code:check out the css.txt - security reasons the forum is not accepting the codes.
--
Trigger: After User Profile Edit Display
Conditions: cb_action Equal to Print
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
krileon wrote: Your condition is always going to fail as it's not a valid substitution you need to change cb_action to [cb_action]. The return output for the HTML probably needs to be an echo; it varies depending on the trigger used. Start with something simple like outputting "Hello!" from an HTML method Code action.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
krileon wrote: I can't help you with custom code. There's no guarantee it's going to work everywhere; jsfiddle is a strictly controlled environment. You'll need to inspect the page code to see if it's even outputting to the DOM as well as the browser developer console to see if the JS maybe erroring.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.