menu,typo3,typoscript , TYPO3 special menu “browse”

TYPO3 special menu “browse”


Tag: menu,typo3,typoscript

I'm trying to build a browse menu in TYPO3 that should be added to all subpages to navigate trough all submenu pages.

That's what I got:

temp.prevPage = HMENU    
temp.prevPage {
    special = browse
        items = prev
        value = 22
        prev.fields.title = <img src="fileadmin/dev/pics/prev.gif" title="next page" alt="prev page"/>
    1 = TMENU
    1.NO = 1
    1.NO.allWrap = |
temp.nextPage = HMENU
    temp.nextPage {    
    special = browse
        items = next
        value = 22
        next.fields.title = <img src="fileadmin/dev/pics/next.gif" title="next page" alt="prev page" />
    1 = TMENU
    1.NO = 1
    1.NO.allWrap = |

To the Problem: The next and prev arrows are shown on any pid value correctly but it doesn't work if it is the pid of the actual page (actually I could leave value away, then it should work on the actual page but it doesn't).

Example: I'm currently on page with id (pid) 23, there the links to pid 21 (prev) and to 23 (next) are shown. But if I go to page with id 22, the links to prev an next disapear.

Template is on _root.


- Home
- pid19
- - pid20
- - pid21
- - pid22
- - pid23
- pid24
- - pid25

Any help will be highly appreciated.


You need to remove the special.value to always take the current pid. It could look something like this (slightly different, but copied from a live project):

lib.navi.horizontal = COA
lib.navi.horizontal {
    10 = HMENU
    10 {
        special = browse
        special {
            items = prev
        1 = TMENU
        1.noBlur = 1
        1.NO {
            ATagParams = class="nav-arrow nav-prev"
            ATagTitle.dataWrap = {field:title}
    20 = HMENU
    20 {
        special = browse
        special {
            items = next
        1 = TMENU
        1.noBlur = 1
        1.NO {
            ATagParams = class="nav-arrow nav-next"
            ATagTitle.dataWrap = {field:title}

This code has to go on pid 19 in your page structure


“position:fixed” Not Working For Header Menu

No matter what, the header menu will not stick to the top of the screen. I have a suspicion it may be something to do with the surrounding html structure - it's quite complex due to a mobile menu (resize to activate) position: fixed; top: 0; left: 0; ****link removed****...

How can extract locations values from a dropdown menu that use geonames webservice for build a updated google map

I have a dropdown menu that show a list of country/state/city in a hierarchy using geonames webservice When i select a location in this dropdown menu it should automatically update a googlemap in a div under this menu and zoom into that location. How can extract locations from this dropdown...

Winforms remove controls on click

In my application I am generating some controls dynamically. On telerik menu control when I click I want to remove those controls and add new controls. I am using the following code. It is removing the controls but only one control per click. Why this code is not removing all...

How to change the submenu alignment in a megamenu [closed]

I'm working on a mega menu. I tried to create a submenu under a menu tab.The fist image file is css part of submenu. This file shows the html code of the submenu. The third image file is the output. I've tried to generate the submenu view under the products...

Dropdown submenu is not displaying correctly

If I hover on the first item (USA), it is OK. When I hover next item, it is displaying on the top. It isnt on the same position as "Europe". Here is a CSS: nav ul li:hover ul li ul{ position:absolute; display:none; } nav ul li:hover ul li:hover ul{ display:block;...

call custom functions from Add-ons menu in Powershell ISE

I've developed a collection of functions that are to be used by our Desktop and Service Desk team and have deployed a custom powershell ISE profile to each staff member that loads the module file that contains all of the functions. I've been asked to make them more user friendly,...

CSS Menu on hover selector

I am very close. How can I have MENU 1 on my .fiddle display as the default menu option then change when MENU 2 on hover? Thank you in advance. Keep coding! :) ...

Android toolbar context menu for listview items

I am looking for help on how to implement a context menu in the toolbar for ListView items, like WhatsApp does it. The only tutorials I found so far are about a dialog that pops up, which is not what I want. Can someone help me or provide links with...

TYPO3-Upgrade 4.5 to 6.2: namespaces

I'm updating an old TYPO3 to latest verison 6.2.12. As I do so I replace deprecated classes with the proper namespaces. E.g. t3lib_div to \TYPO3\CMS\Core\Utility\GeneralUtility or t3lib_extmgm to \TYPO3\CMS\Core\Utility\ExtensionManagementUtility. But I cant find the proper namespaced class for t3lib_svbase. Any suggestions? . And I absolutely have no clue what I...

How to make parent menu active when the child menu was active in menu block using drupal 7?

I have created menu and its child links like About contact us portfolio our location I have used menu block to display sub menu only when about in click and display sub menus in another layer. Now my requirement is when i click on any sub menu in parent menu...

Typoscript add class to the first element using stdWrap

I have a custom requirement to display an image slider using TypoScript. The images are taken from default tt_content image content element. I've added the following TypoScript code to implement this; lib.homeslider = COA lib.homeslider { 10 = CONTENT 10 { table = tt_content select { where = colPos =...

Text on a menu becomes invisible

I'm trying to add a menu I found on a tutorial to my site. For some reason, despite no errors in the console, I just can't see the menu. I do get some of the blue blur the menu is suppoused to have in the corner of the page, but...

jQuery active menu link to index page is always active

I have a menu that uses the following jQuery to add the class active to highlight the current page. <script> jQuery(document).ready(function($) { $(function() { setNavigation(); }); function setNavigation() { var path = window.location.pathname; path = path.replace(/\/$/, ""); path = decodeURIComponent(path); $(".nav a").each(function() { var href = $(this).attr('href'); if (path.substring(0, href.length)...

How to assign variable in fluid?

I want viewhelper that can be helpful to assign variable in fluid, I dont want variable to be passed from controller.

Where are TYPO3 constants from constant editor stored?

In Typo3 Backend -> Template -> Constants there is a constant editor. Where does TYPO3 saving the constants? Tried an fgrep -ri for an existing pattern, in case of saving to filesystem - no matches. Tried an MySQL search for an existing pattern, in case of saving to DB -...

how can I add text to these rectangles?

This is the code I have started to use to make a start menu. # we need some colours!! black = (0,0,0) white = (255,255,200) red = (200,0,0) green = (0, 200, 0) bright_red = (255, 0 ,0) bright_green = (0, 255, 0) bright_white = (255, 255, 255) def main():...

tt_news single view with static news_id

I am using Typo3 Version 6.2 with the plugin tt_news. All I want to do is: Have a simple page on my website On that page I want to have a tt_news single view the news_id of this view should be static (set by me) and NOT by GET variables...

Typo3 6.2: “Could not find a suitable type converter for ”String“ ” exeption after update

Typo3 was from a very old version updated to Typo3 6.2. The most things are working now, but I have one own written extension that give me the following error: Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1297759968: Exception while property mapping at property path "":Could not find a suitable...

Grey page content when side menu is opened

If you look at all the Google apps when you open the side (hamburger) menu the content of the app is greyed. Here is an example Is it possible to do this with ion-side-menu in ionic framework? If so, how? Thank you....

Joomla Get menu id from names

I am in joomla 2.5 and I try to get the id of a menu, I have the name, the alias exemple : menu = FAQ-> menu item =FAQ I have try : $app = JFactory::getApplication('site'); $params = $app->getParams(); $idfaq = $params->get('content_id_faq'); but i am a newbie so I dont...

Stop Prevent Default in else clause

Hello I have a mobile nav where some items have a subnav so I have set a preventDefault to stop these doing there normal actions and open the sub menu but some don't have a submenu ad now these don't work as normal. Any help would be great here is...

how to add menu items to action bar in more than 30 activities

I have created an app in android studio that has more than 30 activities .I created menu items in some activities by adding them in individual menu files and they worked fine . But the problem is that it is a real headache to add all the menu items in...

java.lang.ClassNotFoundException: android.widget.shareActionProvider

I am using Android Studio. In the menu.xml I have <item android:id="@+id/action_share" android:title="@string/action_share" app:showAsAction="ifRoom" app:actionProviderClass="android.widget.shareActionProvider" /> In the code I am using @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){ inflater.inflate(,menu); MenuItem item = menu.findItem(; mActionProvider = (ShareActionProvider) MenuItemCompat.getActionProvider(item); } ...

how to correctly send CMFCMenuButton selected ID to the message map?

firstly let me describe what I have: scenario: CMFCMenuButton, loaded with a CMenu, in a dialog test: click on an item of the menuresult: the message map will get the ID of the CMFCMenuButton and not the ID of the menu how to get the actual menu ID clicked: use...

How to prescribe the width and the height of a JLabel?

I am making a game, and i'm in the menu, however, I have to put one button. And, to make this, I created a JLabel with one image, and I used the MouseListener, but I have to prescribe the proportion of this JLabel, how can I do this? Thanks for...

FadeIn jquery [not working]

I am new at jquery and my fadeIn is not working. I made a JSFIDDLE here. Thank you $('#menu > li').on('mouseover', function(e){ $(this).find("ul:first").fadeIn(120).finish(); $(this).find('> a').addClass('active'); }).on('mouseout', function(e){ $(this).find("ul:first").stop().finish().delay(500).fadeOut(120); $(this).find('> a').removeClass('active'); }); ...

NoSuchMethodException for calling doInBackground

I am new to the Android.On selecting an action in menu item I want to call a method which is in Myclass extends AsyncTask. The method which I want to call is doInBackground. Myclass is a class present in My xml for the menu is as follows : <?xml...

Click Event is executed automatically

I'm having this code $(".menu").on('click', function(e) { e.preventDefault(); $(this).addClass("open").children("div").slideDown(200); }); $(document).on('click', "", function(e) { e.preventDefault(); $(this).removeClass("open").children("div").slideUp(200); }); when I click the .menu the inner div slides down but it slides up again immediately and the open class is removed that's by only 1 click so how to fix this and...

Div ul list css menu

How can I have a child div appear when I hover on the parent div? Please view.Fiddle My apologies if my code is incorrect. Thank you...

Android DrawLayout Implementation

ive been following this post Android Navigation Drawer implemented with Activities However the application crashes before it displays any content. Also it doesnt appear to get the the OnCreate menthod as its not triggering any breakpoints here is my MainActivity package com.example.alex.menutest2; import android.content.Intent; import; import; import android.os.Bundle;...

Start onActivityResult not being called from menu option

I have an Activity A and Activity B and the problem is I'm unable to call the onActivityResult in Activity A from B using menu option. Now this is how I go to Activity A from B @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case return true;...

How to get typo3 settings in the utility files?

plugin.tx_xxx { setting { storagePid = 23 } } I want this typo3 settings in utility file. Please help me....

Menu Bar Overlapping Site

Im trying to make a cool portfolio site, but cant seem to get a cool menu-bar. Now i came by this menu-bar. It are 3 stripes in the top-right corner and when pressed the menu comes in front of the website. I find this one of the coolest menu bars...

jquery level two slides up and level three slides down

Hopefully this is a small one. I have a three level vertical menu. It is built in wordpress and I am attempting to keep it simple before I start putting in content and such. I have got the sub menus to hide and when you click a level 1 button,...

How to get Query object to felogin repository?

i need Query object of TYPO3\CMS\Felogin\Controller\FrontendLoginController in my extention repository so i can create my own query conditions.

CakePHP 2.x Sending user messages to element('menu')

I would like to know the best way to send data to an element which appear everytime the page is loaded. For instance, once a user is logged in, I have to recover some informations about him. The,, etc. are recovered using the SessionHelper as follow : <?php...

How can i make a startmenu in python?

i have been trying to add a start menu to a game i have been making and have looked everywhere to see how to make a start menu. I did try to use a tutorial by sentdex but it didn't work for my code! And i have also looked in...

Hide typo3 content elements for specific user(groups)

I want to "hide/deactivate" the table element for specific users/usergroups in the typo3 BE. Or to be more clear: I want to ONLY allow it to ONE specific user (admin). How can i do that? NOTE: At the moment the table element is deactivated in the global TS-config via tt_content...

Resuming Activities in Android Studio

I have an Android app that basically has 3 activities: game menu, showcase of data, and the game itself. When you complete the game the app is supposed to send you to the game menu. From what I understand this Activity is already running in the background, in order to...

How to add serial numbers to menu items in wordpress

I use this wordpress class to customize menu in BEM methodology. But I need to add to each first level menu item the class with consecutive numbers. For the first item it should be .main-nav__item_order_1, for second .main-nav__item_order_2 and so on. Does anyone have any ideas how to do it?

Delay fadeOut menu jquery

I am new at Jquery and I am trying to make a menu to show up on hover with fadeIn and when the mouse leaves to start a delay and then close the menu with fadeout. My code so far... I made a jsFiddle too JSFIDDLE $('#menu > li').on('mouseover', function(e){...

Bootstrap Responsive Menu won't Respond

I'm having a bad time with this Bootstrap menu I made, and I can't figure it out why it won't collapse, animate. Everything works great and all, but the button doesn't work. <!DOCTYPE html> <html> <header> <script type='text/javascript' src="//"></script> <link rel="stylesheet" href=""> <link href="stylesheet.css" rel="stylesheet"> </header> <body> <div...

How to use Hook “processDatamap_postProcFieldArray” in TYPO3 6.x

Use case: When saving an object (in backend, maybe in frontend too later) I want to manipulate values before saving to database. Problem: The file seems to get included (shows an error on save if I choose a wrong file path) but the function does not seem to be executed...

How to accomplish 3 horizontal line menu in fxml

I want to create menu like "Firefox (Three horizontal line - top right side) Menu". I don't know how to create this line of overlay menu in FXML. Have anybody any idea about this? Thank a lot....

Breadcrumb menu in wordpress

I am stuck on how to create a breadcrumb menu in my wordpress so that when I select the main menu, the path shows its first inner menu. For example I have a main menu About us and Company Profile as its child. When I am select the About us,...

Open an activity with a fragment on it?

I am trying to open an activity with an menu, this works, without any problems. however, when i put an fragment on the activity i open, i get this error 06-19 16:38:46.253 2732-2732/com.example.broodjepoep.stapvoorstap E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.example.broodjepoep.stapvoorstap, PID: 2732 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.broodjepoep.stapvoorstap/com.example.broodjepoep.stapvoorstap.LayoutFragmentOne}: android.view.InflateException: Binary XML...

Replace URLs in Typo3 DB

So I have a Site created with Typo3. I also have a domain which is linked to the folder of the Typo3 Installation. I created a Subdomain and linked it to the same folder and used the Main Domain for something else. But now everything on the Subdomain still...

htaccess and authentication for multiple domains

I am running a mutlisite TYPO3-Site. For the pre-live process, I want to add a htaccess with a htpasswd for 3 / 4 sites. How can I configure the htaccess-file to trigger the authentication only for specific urls? For example: shouldn't get a password-protection, while should. Both sites...

How can I Add sub menus to dropdown menus?

I am having extreme dificulties to add a sub-menu to my dropdown, but I am not a pro on css. I would like to put a submenu on the part it says "10º ano" and "11º ano" in the dropdown "projects", but everything I do doesn't work ! How can...

Two navbars collapsed into 1 for mobile?

I have two menus in Bootstrap 3 - a Social Menu and a Main Menu. When collapsed on mobile, I get two menu open/toggle buttons to open the corresponding menu items. Is there any way when collapsed, I can move the Social Menu Items into the Main Menu and use...