Jump to content

Recommended Posts

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.

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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;
})

Share this post


Link to post
Share on other sites
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;
});

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines