2013-12-11 3 views
-1

TYPO3 v. 6.1 FLUID/EXTBASE를 실행하는 사이트가 있습니다. 확장 뉴스 시스템 키와TYPO3 EXT : 뉴스 시스템 KEY : 뉴스 VER : 2.2.1

: 뉴스 버전 2.2.1

그 다음 내가 설정을 가지고이 페이지 http://codem.dk/blog/에 벌금을 실행중인

#Paginate setup fir our list.html 
plugin.tx_news { 
     view { 
      widget.Tx_News_ViewHelpers_Widget_PaginateViewHelper.templateRootPath = fileadmin/templates/ext/news/Templates/ 
     } 
     settings.list.paginate { 
      #Do not set the "max records displayed" in the flexform of the plugin, the pagination will disappears 
      itemsPerPage = 3 
      insertAbove = false 
      insertBelow = TRUE 
      lessPages = TRUE 
      forcedNumberOfLinks = 5 
      pagesBefore = 2 
      pagesAfter = 2 
     } 
} 

내 주요 Typoscript에이 코드를 실행하는 메신저에서 내 문제 다른 레이아웃으로 추가로이 페이지의 포트폴리오로 실행하기 http://codem.dk/oevelser/ 실행 중이지만 9 개의 항목을 표시하고 싶습니다. "Max Records/Page"페이지 플러그인에서 9로 설정 한 다음 그 모두를 보여줍니다. 페이지에 itams,하지만 페이지가 2 페이지가있는 것처럼 여전히 페이지가 표시됩니다, 어떻게 설정 할 수있는 운영 체제 지금은 블로그에서 작동 -page 그리고 oevelser (drills) 페이지에서 9를 표시하고 < 9 인 경우 지금 페이지 매김을 표시하지 않습니다.

typoscript를 2 페이지의 TS 페이지 구성으로 이동하려고 시도했지만 작동하지 않습니다.

답변

-1

안녕

나는이 문제를 해결했다고 생각합니다.

이 파일을 TYPOSCRIPT 파일에 추가했습니다.

#Paginate setup fir our list.html 
plugin.tx_news { 
     view { 
      widget.Tx_News_ViewHelpers_Widget_PaginateViewHelper.templateRootPath = fileadmin/templates/ext/news/Templates/ 
     } 
     settings.list.paginate { 
      #Do not set the "max records displayed" in the flexform of the plugin, the pagination will disappears 
      itemsPerPage = 3 
      insertAbove = false 
      insertBelow = TRUE 
      lessPages = TRUE 
      forcedNumberOfLinks = 5 
      pagesBefore = 2 
      pagesAfter = 2 
     } 
     settings.listDrill.paginate { 
      #Do not set the "max records displayed" in the flexform of the plugin, the pagination will disappears 
      itemsPerPage = 9 
      insertAbove = false 
      insertBelow = TRUE 
      lessPages = TRUE 
      forcedNumberOfLinks = 5 
      pagesBefore = 2 
      pagesAfter = 2 
     } 
} 

하고 난 settings.listDrill.paginate를 사용하도록 PAGINATE를 사용하여 뉴스 스크립트 list.html을 이야기하고 PAGINATE 레이아웃에 대한 설정에 내가 두려웠을했다 : 만약 F : 다음 F : listDrill를 사용하는 다른 OG 목록.

괜찮습니다.

관련 문제