ak85
ak85

Reputation: 4264

tt_news - Force plugin to start at a particular id

In earlier versions of the tt_news plugin there was some configuration in the flex form which allowed you to force a start id for the plugin. List StartId: Force LIST or LATEST to start from this item [deprecated]

In newer versions this is not possible. I haven't had a problem with this so far however I now want to have three plugins on the page. A latest and two lists.

The Latest and first list plugin will be linked and rotate through the 4 latest articles using the jquery cycle plugin.

However further down the page I have more news where I want to show article 5-12. Because I have already used plugin.tt_news{excludeAlreadyDisplayedNews = 0} so that I could rotate the top two plugins

The third plugin (second list is showing article 1-8 but I need it to show 5-12). Does anyone have any thoughts on how to get around this problem? I have considered IFraming 5-12 from a blank page which would work but obviously wouldn't be the ideal solution.

Upvotes: 1

Views: 642

Answers (1)

Mateng
Mateng

Reputation: 3734

You can substitute this option with the extension ttnews_selectconf. Check the TypoScript options: The "begin" and "max" parameters should be the right choice:

plugin.tt_news {
  extensions {
    ttnews_selectconf {
      begin = 5
      max = 7
    }
  }
}

Upvotes: 1

Related Questions