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 -link element that has href link to page, but I have
I have the following script element in my web page: <script src=default.js type=text/javascript></script> Using
I have a page where there is a column and a content div, somewhat
I have a page which dynamically loads a section of content via AJAX. I'm
I have a page in my application that refreshes some content (a list of
I have a page where the user can edit various content using buttons and
I have a page similar to: <div id=content> <div id=boxes> <div id=box:content:1:text /> <div
Embedded custom-tag in dynamic content (nested tag) not rendering. I have a page that
In VS 2008, I have an ASP.NET content page having one master page. I
I have a generated HTML page with flash content in it. I am trying

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.