Jump to content

How to edit login page template?


adamgodesign

Recommended Posts

Hi all,

 

Might be an easy fix but it's driving me mad! New to developing on WHMCS, am making a custom login page & Can't seem to find the clientarea login template?

 

I'm trying to edit the client login page so it look like https://login.mailchimp.com/ - like the same style.

 

Would anyone be able to point me in the right direction?

 

Thanks

Link to comment
Share on other sites

Hey brothaman,

 

If you are using six template, just navigate to your whmcs\templates\six\login.tpl file

You may also, need to customize whmcs\templates\six\includes\pageheader.tpl if you desire mailchimp login page, so you don't include the title.

 

It's a good idea to hit the WHMCS docs and read over everything, smarty syntax is super powerful... so something like this may come in handy...

 

{if $templatefile == 'login'}
<!-- insert code here or leave blank to remove header page title stuff -->
{else}
<div class="header-lined">
   <h1>{$title}{if $desc} <small>{$desc}</small>{/if}</h1>
   {if $showbreadcrumb}{include file="$template/includes/breadcrumb.tpl"}{/if}
</div>
{/if}

 

https://docs.whmcs.com/Customising_the_Six_Theme

https://developers.whmcs.com/themes/variables/

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