Jump to content

Remove domain link in client area or have it navigate to /clientarea.php?action=domaindetails&id=XXX


RS 🏴

Recommended Posts

Hi folks,

We're experiencing clients having difficulty managing their domains because it isn't obvious how to get into the management area for that domain.

Is there a way we can either remove the link from the domain or have it navigate to /clientarea.php?action=domaindetails&id=XXX instead?

 

Cheers,
RS

Screenshot 2022-10-06 at 15.34.50.png

Link to comment
Share on other sites

Hey RS,

If I understand correctly, you want to change the hyperlink on somerandomdomain.com that currently goes to http://somerandomdomain.com to /clientarea.php?action=domaindetails&id=xxx ?

Easily done by modifying your clientareadomains.tpl template file. I'd recommend creating a child theme first to prevent these changes from being overridden.

Open the template file clientareadomains.tpl (found in /templates/[your-template-name]/) and search for:

<a href="http://{$domain.domain}" target="_blank">{$domain.domain}</a>

Change that to

<a href="clientarea.php?action=domaindetails&amp;id={$domain.id}" target="_blank">{$domain.domain}</a>

(should be around line 83 in the twenty-one template or line 56 in the six template (may be wrapped in <td> tags)

Link to comment
Share on other sites

  • 6 months later...
On 10/7/2022 at 2:02 AM, leemahoney3 said:

Change that to

<a href="clientarea.php?action=domaindetails&amp;id={$domain.id}" target="_blank">{$domain.domain}</a>

 

It's better to change it to

<a href="clientarea.php?action=domaindetails&amp;id={$domain.id}" target="_blank">{$domain.domain}</a> <a href="http://{$domain.domain}" target="_blank"> <i class="fas fa-fw fa-external-link text-info"></i></a>
	

So:

- the main link brings to the domain management page

 - and the small icon links to the domain site

 

screenshot-domainregister.international-2023.04.22-20_29_10.png

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