[TYPO3-ttnews] I understood the tx_news extension

Georg Ringer typo3 at ringerge.org
Wed Nov 23 16:57:23 CET 2011


Hi Paul.

Am 23.11.2011 15:40, schrieb Bader Paul:
> Sorry List I hope anyone can me help width tx_news.

no need to say sorry as this is list is for helping people ;)

> I get all the time following url
> http://typo3.local/typo3/project/estrategy.local/news.html?tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]=2&tx_news_pi1[day]=17&tx_news_pi1[month]=November&tx_news_pi1[year]=2011&cHash=0c3ac8e02648639c87dea4bd832241cc

this means that your realurl conf is not used or wrong. so this means 
this problem is more about realurl than about ext:news.

> When I set in the news.ts
> link.hrDate = 0
>
> The link to the detailview will not work.

will not work means what? an error, you get nothing, you get the wrong 
thing? "will not work" is not helpful.

does realurl work when you don't use the fixedPostVars?

> 'fixedPostVars' => array(
> 'newsDetailConfiguration' => array(
> array(
> 'GETvar' => 'tx_news_pi1[news]',
> 'lookUpTable' => array(
> 'table' => 'tx_news_domain_model_news',
> 'id_field' => 'uid',
> 'alias_field' => 'title',
> 'addWhereClause' => ' AND NOT deleted',
> 'useUniqueCache' => 1,
> 'useUniqueCache_conf' => array(
> 'strtolower' => 1,
> 'spaceCharacter' => '-'
> )
> )
> )
> ),
> '22' => 'newsDetailConfiguration',

this means that your detail page is on uid 22, this correct?

> RSS Feed

> baseURL = estrategy.local/
> absRefPrefix = estrategy.local/

a http:// is there needed!

> XML-Verarbeitungsfehler: XML- oder Text-Deklaration nicht am Beginn der
> Entität
> Adresse:
> http://typo3.local/typo3/project/estrategy.local/socialmedia/rss.html
> Zeile Nr. 1, Spalte 36:<div id="c91" class="csc-default" ><?xml
> version="1.0" encoding="utf-8"?>


problem is here that there is still a TS available which makes this 
wrap. so search in the TsOb for "csc-default" and remove all those wraps 
which you don't need.

using the plugin is just one way, of course you can also add the whole 
news via TS only

> Sorry my english ist bad.

not a problem at all.

I hope you understand that private mails don't help there.

georg


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