Charles Bradbeer Posted December 26, 2017 Share Posted December 26, 2017 hello, Does anyone know of any addon what can place added html code on all client pages? I would like to have an addon do it instead of doing it all by hand! Thank you! 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted December 27, 2017 Share Posted December 27, 2017 you can use both ClientAreaHeaderOutput and ClientAreaFooterOutput to display HTML content in client area pages 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted January 12, 2018 Share Posted January 12, 2018 What, specifically are you trying to do, place these at the end, or the beginning of the page? Something like an ad, for your own company? This is quite a bit outside of the scope of WHMCS (a billing / hosting account manager), more like in the scope of your server admins, but you can do that through a number of apache modules. 0 Quote Link to comment Share on other sites More sharing options...
Charles Bradbeer Posted January 14, 2018 Author Share Posted January 14, 2018 Hello, Im trying to just show some simple HTML output. for example just <p>test</p> then it would be shown in the footer. But i can't seem to find an addon what does this, so im wondering does anyone know of one or has the files to one? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
Charles Bradbeer Posted January 14, 2018 Author Share Posted January 14, 2018 Hello, I have made a hook what does this but it doesn't seem to work? Do you know how to make it work? <?php add_hook('ClientAreaFooterOutput', 1 { $footer = '<p>demo</p>'; return $footer; }) 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted January 14, 2018 Share Posted January 14, 2018 7 hours ago, Charles Bradbeer said: Hello, I have made a hook what does this but it doesn't seem to work? Do you know how to make it work? <?php add_hook('ClientAreaFooterOutput', 1 { $footer = '<p>demo</p>'; return $footer; }) syntax errors, this should work: <?php add_hook('ClientAreaFooterOutput', 1, function($vars){ $footer = '<p>demo</p>'; return $footer; }); 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.