[TYPO3-mvc] link.external : how about adding 'http://' ?
Christine Gerpheide
cgerpheide at gmail.com
Fri Oct 22 13:39:46 CEST 2010
Hi list,
Currently, if the link.external viewhelper is passed "www.google.com" as the
uri, then the link is rendered as <a href="
http://mytypo3site.com/www.google.com">...</a>. Because this is an external
link, this is obviously not correct right?
What would you all think about appending "http://" to the link in this
viewhelper when there is no other protocol present?
I realize the link-setter popup in the backend probably adds http:// for
you, but in my case I'm taking a value from typoscript, so no Javascript
helpers to add this..
Thanks,
Christine
More information about the TYPO3-project-typo3v4mvc
mailing list