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 8646761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:53:47+00:00 2026-06-12T12:53:47+00:00

I need to show author details on a page. Here is my typoscript to

  • 0

I need to show author details on a page.

Here is my typoscript to get the cruser_id of the page content:

    20 = CONTENT
    20{
        table = tt_content
        select{
         selectFields = cruser_id
        }
        renderObj = COA
        renderObj{
         10 = TEXT  
         10{
         required=1      
         field=cruser_id
         }
        }
      }

How to get the username associated with the cruser_id?

  • 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-12T12:53:48+00:00Added an answer on June 12, 2026 at 12:53 pm

    As you didn’t specify the context of your code, here’s an example that just extends the code you provided.

    20 = CONTENT
    20 {
      table = tt_content
      select {
        selectFields = cruser_id
      }
      renderObj = RECORDS
      renderObj {
        source.field = cruser_id 
        tables = be_users
        dontCheckPid = 1
        conf.be_users = TEXT
        conf.be_users {
          field = username
          noTrimWrap = || |
        }
      }
    }
    

    EXPLANATION: You are fetching the content using the CONTENT cObject and telling TYPO3 to render it as RECORDS cObject. This object now has user’s UID available as cruser_id and can use it in its configuration using the source.field. RECORDS thus loads the record (with UID = cruser_id) from the be_users table and you tell TYPO3 to render it as a TEXT cObject. As it can be any cObject (e.g. COA), the output can be more complex, including other fields from the backend user’s record.


    More complex example

    20 = CONTENT
    20 {
      table = tt_content
      select {
        selectFields = cruser_id, tstamp
      }
      renderObj = COA
      renderObj {
        10 = TEXT
        10 {
          field = tstamp
          date = j/n/Y
          noTrimWrap = |Last modified: ||
        }
    
        20 = RECORDS
        20 {
          source.field = cruser_id 
          tables = be_users
          dontCheckPid = 1
          conf.be_users = COA
          conf.be_users {
            stdWrap.noTrimWrap = |<br />Author: ||
    
            10 = TEXT
            10 {
              field = realName
            }
    
            20 = TEXT
            20 {
              field = username
              noTrimWrap = | (|)|
            }
          }
        }
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need the following code to still show rows from the AUTHOR table even
I need to show more than one report on a Page like Classic Report,
I need show options in a select with unicode characters. Try this: <select id=ddlNota_CateId>
I need show a notication modal window.. But since its a fluid layout the
me again... I need show 10 or 20 or 50 results number of results
I need to show a form exactly in front of another form, this lead
I need to show a UIActionSheet on a popover and this popover has an
I need to show for every link, dynamically some text with Java-Script (jQuery). The
I need to show a div positioned relative to where the link is that
I need to show non available dates in different color based on the event

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.