How to generate an absolute URL?

Notice: This thread is very old.
netteman
Member | 125
+
0
-

Hi

I need to generate an absolute url that would be a part of a text so the visitors would see for example ht tp://www.example. com/something/action?id=1&type=2 as a text (I added the spaces to prevent the forum from changing the plain text to an active link)

I know how to create this url “manualy” but I am looking for something like n:href=“Something:action (expand) $args”

Can Nette do this for me?

Thx :)

Last edited by netteman (2016-09-24 16:28)

Šaman
Member | 2659
+
+3
-

Add // before Something:action//Something:action

netteman
Member | 125
+
+2
-

Thank you!

For others: this code does what I need

{link //Something:action (expand) [$id, $type]}