txp:site_url in a hyperlink
I’m scratching my head on something which is likely very simple and will no doubt make me feel rather stupid when I know the answer.
I want to link to a given page on a site, in this case a section called
contact. I want to link it from an article, and I have this as my article body:
<a href=”<txp:site_url />contact”>Contact form</a>
On a fresh install of 4.4.1 in my development environment, this outputs…well, nothing.
I have had a number of very late nights over the past week or so, and I will admit that 1015am on a Monday is early for me, but I’d appreciate a pointer on this if anyone has ideas. I’d be even more grateful if this saves me from hulksmashing my Dell screen.
Thank you in advance.
Last edited by gaekwad (2012-07-16 09:28:54)
- From: Cologne/Köln
- Registered: 2006-08-15
- Posts: 2,900
Re: txp:site_url in a hyperlink
What does the double equal marks do?
Yup, like gaeqwad said. It’s effective, typed quicker than
notextile. , not as easy overlooked and deleted as a blank at the beginning of the line and, not least, it looks like a typographical barrier: don’t touch!
Last edited by uli (2012-07-18 00:52:34)