Jump to content

Add link to Client Area product management drop-down


sherwin_flight

Recommended Posts

I know how to create a new page in the client area of WHMCS that requires the user to log in to view, I have that part figured out. I want to add a custom link to this page from the product management menu.

 

When a user goes to the "My Products & Services" page there is a drop-down menu next to each product that says "View Details", I want to add a link to that menu.

 

Right now there is only one option in that menu, called "Upgrade/Downgrade" which points to

/https://MYDOMAIN.com/upgrade.php?type=package&id=50#tab3

 

I would like to add a link item with a URL like this:

/https://MYDOMAIN.com/MyCustomPage.php?type=package&id=50

 

Is this possible?

Link to comment
Share on other sites

if you're using the default template, there is a line in clientareproductdetails.tpl which seems similar to your line.

 

{if $packagesupgrade}<li><a href="upgrade.php?type=package&id={$id}">{$LANG.upgradedowngradepackage}</a></li>{/if}

you could try adding your line after that.

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.

×
×
  • 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