简体   繁体   中英

typo3, tt_news: multiple single view pages

I have a site that has news and press releases. Both using tt_news. I want these pages to have different single views.

As it is now the news posts on the press release page links to the news page single view.

Press page url: http://ucms-russia.gluteus.se/about-us/press-about-us/

Press page link url: http://ucms-russia.gluteus.se/news/news-post/668/

News page url: http://ucms-russia.gluteus.se/news/

I want the press page link url to look like this: http://ucms-russia.gluteus.se/about-us/press-about-us/press-post/668/

I manage to find a solution.

I added this into a template setup for the page that listed the press posts

plugin.tt_news {
    # page with single view
        singlePid = 518
    # page with list view
        backPid = 517
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM