Zum Inhalt springen

tt_news archive/ instant moving

Erstellt am 9. April 2009 · 1 Antwort · letzte Antwort am 10. April 2009

Tags: tt_news, Frage

alessa ·

Hello

This is what I use

### DEBUG SYSTEM INFORMATION - START ###
HTTP_HOST : kunden.zone2.de
TYPO3_HOST_ONLY : kunden.zone2.de
TYPO3_PORT :
PATH_INFO :
QUERY_STRING : TYPO3_INSTALL[type]=phpinfo
REQUEST_URI : /hoffmeisterpartner/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
HTTP_REFERER : TYPO3 Install Tool
TYPO3_REQUEST_HOST : http://kunden.zone2.de
TYPO3_REQUEST_URL : TYPO3 Install Tool[type]=phpinfo
TYPO3_REQUEST_SCRIPT: TYPO3 Install Tool
TYPO3_REQUEST_DIR : http://kunden.zone2.de/hoffmeisterpa...typo3/install/
TYPO3_SITE_URL : Hoffmeister
TYPO3_SITE_SCRIPT : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_SSL :
TYPO3_REV_PROXY :
SCRIPT_NAME : /hoffmeisterpartner/typo3/install/index.php
TYPO3_DOCUMENT_ROOT : /srv/www/vhosts/zone2.de/subdomains/kunden/httpdocs
SCRIPT_FILENAME : /srv/www/vhosts/zone2.de/subdomains/kunden/httpdocs/hoffmeisterpartner/typo3/install/index.php
REMOTE_ADDR : 194.176.189.29
REMOTE_HOST :
HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0. Gecko/2009032609 Firefox/3.0.8
HTTP_ACCEPT_LANGUAGE: en-gb,en;q=0.5
CONST: PHP_OS : Linux
CONST: TYPO3_OS :
CONST: PATH_thisScri: /srv/www/vhosts/zone2.de/subdomains/kunden/httpdocs/hoffmeisterpartner/typo3/install/index.php
CONST: php_sapi_name: apache2handler
OTHER: TYPO3_VERSION: 4.2.6
OTHER: PHP_VERSION : 5.2.6
imagecreatefromgif(🙁 1
imagecreatefrompng(🙁 1
imagecreatefromjpeg 1
imagegif() : 1
imagepng() : 1
imagejpeg() : 1
imagettftext() : 1
OTHER: IMAGE_TYPES : 31
OTHER: memory_limit : 128M
SERVER: SERVER_PORT : 80
SERVER: SERVER_SOFTW: Apache/2.2.3 (Linux/SUSE)
SERVER: GATEWAY_INTE: CGI/1.1
SERVER: SCRIPT_NAME : /hoffmeisterpartner/typo3/install/index.php
SERVER: PATH_TRANSLA:
T3CV_GFX: image_proc: 1
T3CV_GFX: gdlib : 1
T3CV_GFX: gdlib_png : 0
T3CV_GFX: gdlib_2 : 0
T3CV_GFX: im : 1
T3CV_GFX: im_path : /usr/bin/
T3CV_GFX: im_path_lz: /usr/bin/convert
T3CV_GFX: im_version:
T3CV_GFX: im_negate_: 0
T3CV_GFX: im_imvMask: 0
T3CV_GFX: im_combine: combine
### DEBUG SYSTEM INFORMATION - END ###

I install tt_news. And I tried to do two things.

Firstly, I tried to find a way to display the article as SINGLE; to display only one full article on a page, without selecting from a predefined list.

Secondly: The article should automatically move to the archive as soon as a new article will be posted. I didn't find if tt_news have this function. So every news page should have only one article to display full.
(For example: existing “news1” will move to “news2”, or ”news 3” will move to “archive”).

Thank you in advance

brokemeister ·

Hi!

alessa schrieb

Firstly, I tried to find a way to display the article as SINGLE; to display only one full article on a page, without selecting from a predefined list.

Check out the TER. There is somewhere an extension for it...

Secondly: The article should automatically move to the archive as soon as a new article will be posted. I didn't find if tt_news have this function. So every news page should have only one article to display full.
(For example: existing “news1” will move to “news2”, or ”news 3” will move to “archive”).

You can use the LATEST-View as Single-View. Just modify the Template.
Additionally you can set a Start ID and a Limit for the news count on one page. So the LATEST-View just display the last, second last, .... article. You don't really need the archive function.

Cheers,

Malte