Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Changing content using url if statement

$
0
0
I have a few pages that are use the encoded domainchecker.php file, since I cant change the template file I want these pages to display different content based on the visitors url.

Code:

        <div class="textcenter"><h3>{if $href eq "https://www.bitronictech.net/buy-domains-bitcoin.php"}Domain Names from only 1 BTC a year!{else}{$LANG.domainuniques}{/if}</h3></div>
    <p>{$LANG.domaincheckerenterdomain}</p>

I dont have the right code here, but how do I specify the url in the if statement correctly?

Viewing all articles
Browse latest Browse all 13458

Trending Articles