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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:57:37+00:00 2026-06-04T02:57:37+00:00

My typo3 websites has a menu with the follwing typoscript definition: lib.footernav = HMENU

  • 0

My typo3 websites has a menu with the follwing typoscript definition:

lib.footernav = HMENU
lib.footernav.special = directory
lib.footernav.special.value = 38
lib.footernav.entryLevel = 0
lib.footernav.1 = TMENU
lib.footernav.1.NO {
  ATagParams = class = "footer-link"
}

The menue works just fine. What I want to do is, change the link text into an image, like this:

<a class="footer-link" href="index.php?id=43&L=1">Facebook</a>

to

<a class="footer-link" href="index.php?id=43&L=1"><img src="facebook.gif"/></a>

How can I do that?

If it helps I could also create a new menu for this facebook link.

  • 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-04T02:57:39+00:00Added an answer on June 4, 2026 at 2:57 am

    Another solution is to define a custom class for each link, then change the background image only for according links. This way you can fully control the menu’s appearance by css:

    lib.footernav.1.NO {
      ATagParams = class="footer-link {field:title}"
      ATagParams.insertData = 1
    }
    

    Results in following html:

    <a class="footer-link Facebook" href="index.php?id=43&L=1">Facebook</a>
    

    css:

    .Facebook {
      background: transparent url(facebook.gif) no-repeat;
      text-indent:9999px;
    }
    

    EDIT: I recommend the above solution, because it’s a quick and fairly clean setup to address a single menu item. However, if you like a clean example from the typoscript textbook:

    lib.footernav = COA
    lib.footernav.10 = HMENU
    lib.footernav.10 {
        special = directory
        special.value = 38
        excludeUidList  = 99
        1 = TMENU
        1.NO {
          ATagParams = class = "footer-link"
        }
    }
    
    lib.footernav.20 = TEXT
    lib.footernav.20  {
        field = title
        typolink.parameter = 99
        typolink.ATagParams = class = "footer-link"
        }
    

    Assuming that your facebook menu item is page ID 99

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

Sidebar

Related Questions

I have TYPO3 4.6, in tempvoila template i have typoscript object path lib.header and
So far I've build my websites with Typo3 but it's a bit of a
I'm loading JQuery into my TYPO3 page by : page.headerData.10.value = <script type=text/javascript src=http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js></script>
We're currently developing a website (TYPO3 under Apache) for a customer that is supported
I want to install typo3 using dummy and source packages, how is it done
I'm newbie at TYPO3, trying to install my custom template. I have HTML/CSS/IMAGES files,
I have a TYPO3 site with Indexed Search Engine extension... The problem is that
I have installed typo3, templavoila and mapped a template. Everything works fine, except my
I just started a new Typo3 4.6 site and I found this weird line
I'm writing my first extbase extension for TYPO3 with nested models at the moment.

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.