[TYPO3-ttnews] disqus on tx_news -> Uncaught SyntaxError: Unexpected token ILLEGAL

d.ros projects at r-system.de
Tue Jan 15 05:29:54 CET 2013


Am 15.01.2013 03:11, schrieb d.ros:
> Am 14.01.2013 10:33, schrieb Georg Ringer:
>> Hi . . .,
>>
>> Am 14.01.2013 10:22, schrieb d.ros:
>>
>>> Is there any possibility tho force this script in front of the closing
>>> body tag ? Or am I damned to TYPOSCRIPT with this case ?
>>
>> you could use n:headerData
>>
>
>
>  From any reason I had to remove the surrounding {} from the link
>
> <n:social.disqus newsItem="{newsItem}"
>            shortName="test"
> link="n:link(newsItem:newsItem,settings:settings,uriOnly:1)" />

That one was a false friend and makes no sense at all. It just worked 
because this news was already connected to disqus by hand. So in fact I 
did get it running only with a hardcoded baseurl in the front

link="http://myurl.com/{n:link(newsItem:newsItem,settings:settings,uriOnly:1)}"

>
> This way it works . . .
>
> cheers



More information about the TYPO3-project-tt-news mailing list