[typo3 limit]

shark_255

Новичок
[typo3 limit]

Халов !

В typo3 натолкнулся на проблему - есть сущность новости, прописывал и в constants и в setup ограничение на вывод
кол-ва новостей - все без изменений.
Привожу пример из админки - конфигурация шаблона.

constants
PHP:
plugin.tt_news {
  listMaxW = 214
  listMaxH = 70
  limit	   = 50
}
setup
PHP:
# clear the code field
plugin.tt_news.code >
plugin.tt_news.code = LIST

# prevent indexing of the LIST view
config.index_enable = 0

[globalVar = GP:tx_ttnews|tt_news > 0]
    plugin.tt_news.code = SINGLE
    # enable indexing of the SINGLE view
    config.index_enable = 1
[global]
[global]

styles.content.get >
styles.content.get < plugin.tt_news


tt_news {
   general_stdWrap {
     parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag >
   }
}

# this will remove the complete <p> tag from ALL content 
elementslib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.nonWrappedTag >

# this line will remove only the “bodytext” class from ALL content elements

# the <p> tag will be still rendered

lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >

tt_news.general_stdWrap.parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag >

plugin.tt_news {
  alternatingLayouts = 2
  singlePid = 23
  templateFile = fileadmin/templates/tt_news/projects_template.html
    displayList {
        subheader_stdWrap.crop = 200 | ... | 1
  }
 limit	   = 50
}
Подскажите куды копать - а то потерялся в поисках уже ))
 
Сверху