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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:03:28+00:00 2026-06-10T19:03:28+00:00

I have the below typoscript lib.nav = HMENU lib.nav { wrap = <ul> |

  • 0

I have the below typoscript

lib.nav = HMENU
lib.nav {
  wrap = <ul> | </ul>
  1 = TMENU
  1 {
        expAll=1
        NO {
        |*| <ul><li> | </li></ul> |*| <ul><li> | </li></ul> || <ul><li class="last"> | </li></ul> |*|

            wrapItemAndSub = |*| <li> | </li> |*| <li> | </li> || <li class="last"> | </li> |*|
            stdWrap.cObject = CASE
            stdWrap.cObject {
                key.field = doktype
                default = TEXT
                default.field = title
                default.typolink.parameter.data = field:uid
                default.typolink.ATagBeforeWrap=0
                3 < .default
                3 {
                stdWrap.htmlSpecialChars = 1
                typolink {
                parameter {
                data >
                dataWrap = http://{field:url}
            }
            }
        }
        }
          doNotLinkIt = 1     # to avoid "<a>" repeated twice
          subst_elementUid = 1
        }
      }
        2 = TMENU
      2 {
        expAll=1
        wrap = <ul> | </ul>
        NO {
          wrapItemAndSub =  |*| <li> | </li> |*| <li> | </li> || <li> | </li> |*|
          stdWrap.cObject = CASE
          stdWrap.cObject {
            key.field = doktype
            default = TEXT
            default.field = title
            default.typolink.parameter.data = field:uid
            default.typolink.ATagBeforeWrap=0
        3 < .default
        3 {
        stdWrap.htmlSpecialChars = 1
        typolink {
        parameter {
        data >
        dataWrap = http://{field:url}
        }
        }
        }
          }
          doNotLinkIt = 1     # to avoid "<a>" repeated twice
          subst_elementUid = 1
        }
      }
    }

Which seems to work well, however I have notice a slight glitch when I have an external url page in the nav. It generates the below code for an external url.

<ul>
<li><a href="index.php?id=3">External Links</a>
    <ul>
        <li><a target="_top" href="http://example.com/1">Example 1</a></li>
        <li><a target="_top" href="http://example.com/2">Example 2</a></li>
        <li><a target="_top" href="http://example.com/3">Example 3</a></li>
    </ul>
</li>
</ul>

How do I remove this default setting? I want it to be configurable per page in the behaviour tab (link target field in LTS 4.5).

I also have the below set in my constants.

PAGE_TARGET = 
content.pageFrameObj = 
  • 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-10T19:03:29+00:00Added an answer on June 10, 2026 at 7:03 pm

    Set in setup the extTarget via config. It is default “_top”.

    # just set it to an empty string instead of _top
    config.extTarget = 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have below structure <div class=mybox> <div id=imageslide> <a href=><img src=url /></a> </div> </div>
I have below code: class Program { static void Main(string[] args) { Task[] tasks
I have below code in html. <li class=selected runat=server id=lihome><a href=/ISS/home.aspx title=Home><span>Home</span></a></li> Now I
i have below code snippet in my legacy project DetachedCriteria subCriteria = DetachedCriteria.forClass(Employee.class); subCriteria.setProjection(Projections.distinct(Property.forName
I have below html <table class=Newuser cellspacing=0 cellpadding=0 border=0 id=ctl00_ContentPlaceHolder2_CreateUserWizard1> <tr> <td> <table> <tr>
I have below HTML code <table class=innerGridTable cellpadding=0 cellspacing=0 width=100%> <tr id=trMain> <td> <asp:Button
I have found that if I use the below typoscript I can redirect my
I have below code. <table> <tr> <td class=bgimg valign=middle width=10% title=some title nowrap> <img
I have below this two classes .. class Emp //implements Comparable { String name,job;
I have below html: <div class=threeimages id=txtCss> <a> <img alt=Australia src=/Images/Services%20button_tcm7-9688.gif/> </a> <div class=text

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.