[TYPO3] First Extension attempt

Stephen Bungert s.bungert at metrinomics.de
Wed Mar 12 13:11:03 CET 2008


Hallo.

I trying to make my first extension. When I try and view the page I see
this:

NO entry in the $TCA-array for the table "tt_news_related_mm". This means
that the function enableFields() is called with an invalid table name as
argument.

What exactly does this mean?

This was the code that made it:

$this->query = $this->pi_exec_query("tt_news_related_mm", 0, '`uid_local`
=1', '', '', '', '');

What I want to do is just query the database. The table tt_news_related_mm
seems to store the related artcile IDs fort t_news articles. I want to get
the related ids so that I can display the related articles for a TT_news
article in SINGLE view in the right column.





More information about the TYPO3-english mailing list