tt_news

1.3.8. The tt_news_cat database-record

The category db-record looks like this:

 


Field descriptions:

Title and Title language overlays

In the field "title language overlays" you can define titles for other languages. If you have more than one additional language, you can split the titles with the "|" symbol.

Example:
if you have a website with 3 languages (en,de,fr) you write the category title for the default language in the field "Title". The titles for german an french are stored in the field "title language overlays" like this:


the order of the overlay titles has to be the same as the order of your system languages.
In this example: en=0, german=1, french=2

Parent category

In the Field "Parent category" you can define the current category as a subcategory of the category which is selected in this field. That will include the current category and the newsitems which have this category assigned when the parent category is selected. This works recursive.

Hide, Start, Stop and Access

With the fields "Hide", "Start", "Stop" and "Access" you can f.e make this category and the newsitems  that have this category assigned only visible for a certain usergroup. Works recursive for subcategories.

Category Image

You can upload or assign an image for each news category which is shown in the CATMENU element ("catmenuIconMode = -1") and as category images (f.e. instead of the category title). The behavour of the category titles/images can be configured in the sheet "Category settings" in the news content element.   

The category titles/images can act as shortcut to a page or as "category selector" which means: the contents of a news-list ist filtered by category. Filtering by category works recursive for subcategories.

Category shortcut

Category titles or images can also act as shortcut to an internal page. If this is enabled and a visible page is defined as shortcut, the link from the category title or image points to this page.

Target for news category shortcut

With the field "Target ..." you can configure a target for the category shortcut (this setting will have priority over a global setting for link targets in your website)   

Single-view page for news from this category

The field "Single-view page for news from this category" gives you the possibility to define a single-view page for each category. If you want to use this feature it is required to add "useSPidFromCategory = 1" to the TypoScript setup.

If a news-record has 2 or more categories assigned the SinglePid will be taken from the first category which is assigned to the news record.

Description

Here you can enter a description for the current category which will be shown as tooltip in the category tree in BE and in the CATMENU content element in FE. If you have long description texts (>70 chars) Firefox and Mozilla will not display the tooltips correctly. Solution: There are some Firefox extensions which correct this problem. I tried "Popup Alt Attribute" which works flawless for me (see screenshot).

Example:
C
ategory description as tooltip in the category select field:

 


To top


Valid XHTML 1.0!