Thank you, I didn’t know that.

Unfortunately there is a lot more I don’t know when it comes to this kind of programming, so I have to ask for a follow up: Where in that little snippet code do I change to get the
http://lrkh.no/index.php&id=107
&style=print
in stead of
http://lrkh.no/index.php?id=107
?style=print
I think, thererfor I am! But what I am, and why...?
-
☆ A M B ☆
- 24,524 Posts
The index.php?id=xx is automatic; that’s part of any MODx URL created from the [~...~] tags. So when you have a link in your text with a query string, and you are NOT using friendly URLs, after the [~...~] tags you need to use &. If you ARE using friendly URLs, when MODx won’t be generating a URL like index.php?id=xx but like mypage.html, then you use a ? after the [~...~] tags.
Thank you so much again. My mistake, I didn’t read my codes well enough.

It was of course in the link:
<a href="[~[+id+]~]
?style=print">print this page</a>
It should be:
<a href="[~[+id+]~]
&style=print">print this page</a>
And thanks to @ganeshXL for this example. It works perfect.
I think, thererfor I am! But what I am, and why...?