Jump to content

Language Code


hostseba

Recommended Posts

I have another question. I need page url location code. Like if i visit this url: https://www.yourdomain.com/cart.php?a=add&domain=register

Then the code will show me the full url on this code: <a href="pageurlcode"></a> not only for the domain name. Can use please give me the code for full page url code.

I can't find the code on this url https://developers.whmcs.com/themes/variables/

Link to comment
Share on other sites

13 hours ago, hostseba said:

I have another question.

what was the other one? btw - you posted in the wrong forums (it's not about a commercial addon), but nevermind. 🙂

13 hours ago, hostseba said:

I need page url location code. Like if i visit this url: https://www.yourdomain.com/cart.php?a=add&domain=register

Then the code will show me the full url on this code: <a href="pageurlcode"></a> not only for the domain name. Can use please give me the code for full page url code.

I can't find the code on this url https://developers.whmcs.com/themes/variables/

if you were doing this in a Smarty template, then it would be...

<a href="{$smarty.server.REQUEST_URI}">link</a>

you could probably use {$currentpagelinkback} instead if you wanted to, but that might need tweaking.

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