Sign Up Button On Homepage

I like to add Join now button on home page. anyone help me pls. thanks.

Hello,



There are buttons “Register” in the header and “Stay connected” in the site footer block.

Can you please give any details of what you wish to implement?

We will be glad to help you.

[quote name='csca' timestamp='1414551527' post='195550']

I like to add Join now button on home page. anyone help me pls. thanks.

[/quote]


  • Add the “join_now” language variable
  • Add the HTML block with Smarty support and the following content



{if !$auth.user_id}
{include file="buttons/button.tpl" but_href="profiles.add" but_text=__("join_now") but_meta="ty-btn__secondary" }
{/if}




Hope that helps.

Can you pls tell me how to do the 2nd part and where to add the code?



thanks

[quote name='eComLabs' timestamp='1414574455' post='195573']

  • Add the “join_now” language variable
  • Add the HTML block with Smarty support and the following content



{if !$auth.user_id}
{include file="buttons/button.tpl" but_href="profiles.add" but_text=__("join_now") but_meta="ty-btn__secondary" }
{/if}




Hope that helps.

[/quote]

I did those and the button displayed once. but there is no button. why its disappeared?

[quote name='csca' timestamp='1414634796' post='195669']

I did those and the button displayed once. but there is no button. why its disappeared?

[/quote]



It is displayed to the non-registered users only. If you want to remove this condition, please remove the following lines:



{if !$auth.user_id}




and



{/if}