Jump to content

Change homepage.tpl to be the same as clientarea.php


ditto

Recommended Posts

I have WHMCS on a subdomain using the "Portal" template. I don't want to show anything else then the log in form on the front page (https://sub.domain.tld/). To do this I have replaced all the content on the homepage.tpl with the log in form.

 

The problem with this, is that when somebody already is logged in and visit https://sub.domain.tld/ they is just presented with the log in form, but they should be presented with the content like they is when visiting https://sub.domain.tld/clientarea.php

 

The question is: How can I change the homepage.tpl to be exact the same as clientarea.php?

 

I have tried to just copy the content from clientarea.php to homepage.tpl, but that did not work.

 

At the moment I need to link all my pages and email templates to https://sub.domain.tld/clientarea.php , but I really would like to link them to just https://sub.domain.tld/

 

Thanks for any ideas and help on this!

Link to comment
Share on other sites

I am sorry I was not being clear of what my problem is. I already have dologin.php?goto=clientarea in the log in form. The problem is that when you already is logged in and you go to https://sub.domain.tld/ you are presented with the log in form in spite of that you already is logged in. Therefore I have to link to https://sub.domain.tld/clientarea.php , but I would like to link to https://sub.domain.tld/ if I can find a fix for this.

 

Thanks!

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