clickstrum Posted November 23, 2013 Share Posted November 23, 2013 I'm messing with the addonexample module that ships with WHMCS and tried changing the addonexample_output function to: function addonexample_output($vars) { echo "foobar"; /* $modulelink = $vars['modulelink']; $version = $vars['version']; $option1 = $vars['option1']; $option2 = $vars['option2']; $option3 = $vars['option3']; $option4 = $vars['option4']; $option5 = $vars['option5']; $LANG = $vars['_lang']; echo '<p>'.$LANG['intro'].'</p> <p>'.$LANG['description'].'</p> <p>'.$LANG['documentation'].'</p>'; */ } I'd expect it to return foobar in the admin addon area for the addon example, but it looks like there is no change (it looks like I haven't even changed anything). I thought perhaps it was a cache issue, but if I make changes to the addonexample_config function, like in one of the name or description fields of the configarray, those changes show up when I refresh the page. I'm working on my issue here, but found I can't get this _output function to do anything. My WHMCS version is 5.2.13. 0 Quote Link to comment Share on other sites More sharing options...
clickstrum Posted November 25, 2013 Author Share Posted November 25, 2013 Anyone have any ideas, or any tips? Anything?? The docs are lacking. What is in the docs I've been following 100%, but I'm getting nothing. I tried deleting templates_c, but no help. Anyone????? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.