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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:36:42+00:00 2026-05-27T10:36:42+00:00

I have a page content element on a page. This has the ID 3

  • 0

I have a page content element on a page. This has the ID 3 and it has a translation. This element is read out with the following Typoscript

lib.marker = RECORDS
lib.marker {
  tables=tt_content
    source= 3
    dontCheckPid = 1
  languageField = sys_language_uid
    select.languageField = sys_language_uid
}

For the default language everything is OK. But for my additional language I get

<a id="c605"></a>

before the div I originally wanted is displayed. I looked in the HTML of the page content and there is everything like it should be. Any ideas?

Edit:

Here the content gathered through the TS Object Browser:

[tt_content] = CASE
    [key]
    [stdWrap]
        [innerWrap]
        [innerWrap2] = | <p class="csc-linkToTop"><a href="#">{LLL...
        [prepend] = TEXT
            [dataWrap] = <a id="c{field:_LOCALIZED_UID}"></a>
            [if]
                [isTrue]
                    [field] = _LOCALIZED_UID
  • 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-05-27T10:36:43+00:00Added an answer on May 27, 2026 at 10:36 am

    The default behaviour should be that the anchor is added even in the default language. However, I’ve just checked and realized that there might be a bug in TYPO3 for which reason I’m actually using different setup.

    I think you have 2 options.

    a) Unset the anchor completely:

    tt_content.stdWrap.prepend >
    

    b) Modify the anchor this way:

    tt_content.stdWrap.prepend {
      if >
      dataWrap = <a id="c{field:_LOCALIZED_UID//field:uid}" class="anchor"></a>
    }
    

    This should give you an anchor consistently in both default and localized version. Then you should set CSS for a.anchor so that it doesn’t screw your layout. I don’t know what kind of layout problems it gives so I currently cannot give you more advice on that.

    NOTE: The solution works in TYPO3 4.5, might work in later versions but is reported not to work in version 9.x.x and later.

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

Sidebar

Related Questions

I have a page that loads content through AJAX. Among this content are some
I have a simple collapsible content element at the top of a page that
I have a JQuery Mobile app. This app has a page with a select
I have the following script element in my web page: <script src=default.js type=text/javascript></script> Using
I have a content page(Say.. invoice.aspx) in asp.net application with master pages. The content
I have a page with header,content and footer. Issue i'm facing with the page
i have an application that loads the page content. I use the WebClient class.
I have made a kind of CMS using CodeIgniter. It loads the page content
I have a page (main.php) which loads content from an external PHP file (rpc.php).
I have a page that lets the user edit the content of the page

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.