href to external website

kyle shapiro asked on May 31, 2017 23:32

I'm writing a transformation for a page repeater. I would like to write

<a href="">google</a>

but the resulting HTML is

<a href="[Your entire website path of this page's parent document]/">google</a>

please help me get the former instead of the latter.

Correct Answer

Brenden Kehren answered on May 31, 2017 23:46

For the href to work properly you need the protocol as well. The browser simply sees as a relative link because it doesn't have a protocol with it. Assign the protocol and you'll be set. It's not a Kentico "thing", it's a browser "thing" and your href needs to be in the proper format. I'd suggest ensuring the input checks for a protocol or your output checks for the protocol.

1 votesVote for this answer Unmark Correct answer

Recent Answers

kyle shapiro answered on June 1, 2017 00:07

Hahaha such a silly mistake! Thank you so much Brenden. Even though this was an simple thing, I was so stumped and hung up on it. Appreciate it!

0 votesVote for this answer Mark as a Correct answer

Joseph Ccole answered on July 1, 2017 23:25 (last edited on July 1, 2017 23:26)

Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research.
Thanks for posting, maybe we can see more on this.
Are you aware of any other websites on this subject.

0 votesVote for this answer Mark as a Correct answer

diego tony answered on February 2, 2018 16:13 (last edited on February 2, 2018 16:13)

Muy bueno el ariculo, gracias x compartir cooking games

0 votesVote for this answer Mark as a Correct answer

Ala Tores answered on February 28, 2018 14:39

Computer Kizi, Gun Games, Friv 2, Friv 4, Friv 5, Kizi Games, Friv 1000, Y8, Io Games, Frive games have become an integral part of modern life. What do they do more good or harm? Let's look at the pros and cons of online games for the average person.

Let's start with the pros. You came after a long working day, where they were loaded with work from morning till evening. What a joy now to climb into your favorite shooter and shoot all the villains. So you get emotional discharge, which in the rhythm of modern life is extremely necessary. Many logic games help you think more and develop memory. And online games, such as poker or sports betting, will help you even earn extra money and plunge into the atmosphere of excitement and drive.

All the disadvantages of online and computer games are associated with excessive user involvement in the process. Pupils often very much bother at the races of brodilkas and RPG games, such as nid fo spid, dota, wave of kraft. They can sit out all day for playing, even without taking off even for a meal. What happens if a person sits like this for a whole month? Health problems are ensured. Your back and eyes are not iron, they need rest. Games for money are dangerous because they can draw inexperienced users and they will lose money, not controlling their own state. In many ways predisposition to ludomania is inherent in the character of a person. Know that free only cheese in a mousetrap, and before you can earn a gambling environment, you will have a lot to learn. It's not for nothing that professionals in poker make big money, they know this game far and wide, and also learned all the mathematical concepts of the game.

With slots and roulettes it's best not to mess with anything at all. If in poker and sports betting you can have any advantage, then in slot machines the superiority is always on the side of the casino. Yes you can win any amount, however, constantly playing, you will always be in the red. This is embedded in the program of slots and roulette. As mentioned above, you need to know everything about the game you want to play for money. And if you have the information that you can not win a slot machine for a long period of time, then you will never lose money on the casino's website.

So, summing up this article, it is important to note that you can find positive aspects in computer and online games, such as rest, training of thinking, additional earnings. However, you must respect the golden mean and know the extent of your hobbies and excitement.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.