Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8255283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:28:18+00:00 2026-06-08T01:28:18+00:00

My news should not contain any text, except for the title. Instead, in the

  • 0

My news should not contain any text, except for the title. Instead, in the list view the title should directly point to the first attached file (a PDF).

Now I thought the simplest solution for that would be to hide the title, show only the attached files and give them the title of the related news entry via TypoScript.

For the detail view this code works fine:

plugin.tt_news.newsFiles {
    labelStdWrap.cObject = TEXT
    labelStdWrap.cObject.dataWrap = DB:tt_news:{GPvar:tx_ttnews|tt_news}:title
    labelStdWrap.cObject.wrap3 = {|}
    labelStdWrap.cObject.insertData = 1
}

…but it uses the GPvar for the currently displayed news, which of course is not present in list view.

So my question is: how do I get the ID of the currently iterated news entry, if possible at all?

I am open to other solutions as well.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:28:20+00:00Added an answer on June 8, 2026 at 1:28 am

    You will need to use custom itemMarkerArrayFunc – fastest by copying the sample into your own extension: typo3conf/ext/tt_news/res/example_itemMarkerArrayFunc.php and adding custom marker to $markerArray.

    The mentioned sample even demonstrates access to files so I assume that should not be a problem to modify it for your needs.

    Note: if you haven’t any own ext to copy the func into it, and you don’t want to create such, try to copy it somewhere under fileadmin folder, modifying files in original destination is wrong idea, cause you’ll lost all changes after next tt_news' update.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am trying to remove parent tag, but removing parent tag should not remove
There is an app that displays news from the RSS feed. What should I
It's not the first time I've created a Custom Event in C#. It boggles
I am writing my first portlet based application (for liferay, but the solution should
Per the documentation located here: https://developers.facebook.com/docs/opengraph/news/ I should be able to post a news.reads?article
I have to build a News based website but I am not sure whether
For some reason I’m getting an undefined variable on the view and not quite
I'm trying to create a news viewer with Xcode 4. This should look like
News wrote that Eclipse 3.5 finally supports column selection. Unfortunately I don't know HOW
Good news! Since version 4.8 BerkeleyDB has c# interface. BerkeleyDB is a quite interesting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.