Jump to content

Help with an IF statement


Recommended Posts

I want to add a little bit of text on the 'addons' page of clientareadomaindetails.tpl if privacy protection is enabled.

This is what I have but the IF variable is not correct. I've tried several variations. I also added {debug} to the top of the file (using Twenty-One theme) and it doesn't show the variables like SIX does. Edit: {debug} is working on the Twenty-One template.

I am trying to write this:

{if $isprivacyon eq "true"}

<p>DISPLAY SOME TEXT</p>

{/if} 

This is wrong: $isprivacyon eq "true"

Does anyone know the right variable and mind helping me out? Thanks!

I use the LCDRM module from Resellerclub-Mods so that may mean the variable is different from original WHMCS smarty variable?

Edited by evolve hosting
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated