Jump to content

Modify Download Tagline


digifx

Recommended Posts

Hello,

I like to modify the tageline of the download section as you can see in the screenshot. The text "Order VPS now" should link to the cart.php.

I found the modification can be done in the language file:

$_LANG['downloadLoginRequiredTagline'] = "Please login to access the requested file download. </br> Not a customer yet? Order VPS now";

However, if I try "Not a customer yet? <a href"https://domain.com/cart.php"Order VPS now"</a>"; It does not work. I get an "Oops, something goes wrog message"

How to I place the link here correctly?

Chris

2019-02-24_06h59_08.png

Link to comment
Share on other sites

6 hours ago, digifx said:

I found the modification can be done in the language file:

it can, but it shouldn't - you should be using Language Overrides to do this and not editing the original files.

6 hours ago, digifx said:

However, if I try "Not a customer yet? <a href"https://domain.com/cart.php"Order VPS now"</a>"; It does not work. I get an "Oops, something goes wrong message"

shouldn't it be...

$_LANG['downloadLoginRequiredTagline'] = "Please login to access the requested file download. </br> Not a customer yet? <a href=\"cart.php\">Order VPS now</a>"; 

you shouldn't need to include your domain as you're already on your own site - though you can do so if you need to.

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