Project

General

Profile

Actions

Bug #16026

closed

special=directory does not include submenu entries

Added by old_blueyed over 18 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Communication
Target version:
-
Start date:
2006-04-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

With a "special=directory" HMENU and a TMENU for menu.1 and menu.2, only the TMENU for menu.1 gets displayed, though documentation (TSref) says:

"NOTE: Don't set .entryLevel for a HMENU when using this option! Also be aware that this selects pages for the first level in the menu. Submenus by menuPbjects 2+ will be created as usual."

I've experienced the problem with Typo3 3.81, but just tested it with 4.0.

I've used the following template setup for the test with 4.0, which is simplified from the original template:
page = PAGE
page {
10 = HMENU
10 {
special = directory
special.value = 1

1 = TMENU
1{
NO {
allWrap = <li>|</li>
}
wrap = <ul>|</ul>
}
2 = TMENU
2{
NO {
allWrap = <li> Second level:|</li>
}
wrap = <ul>|</ul>
}
wrap = <div class="menu1">|</div>
}
}

Attached is a screenshot of the pages in the backend.

"1.1" is ID 1, but if "1.1.1" is selected in the displayed menu, the subpages (1.1.1.1 and 1.1.1.2) get not shown.

We've tried to work around this, by setting "entryLevel = 2" (which is forbidden in the TSref), but though it initially worked, it produced totally empty content for this part of the page later.

"DEBUG information" (of the local 4.0 machine)
  1. DEBUG SYSTEM INFORMATION - START ###
    HTTP_HOST : t3.local
    TYPO3_HOST_ONLY : t3.local
    TYPO3_PORT :
    PATH_INFO :
    QUERY_STRING : TYPO3_INSTALL[type]=phpinfo
    REQUEST_URI : /typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
    HTTP_REFERER : http://t3.local/typo3/install/index.php?
    TYPO3_REQUEST_HOST : http://t3.local
    TYPO3_REQUEST_URL : http://t3.local/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
    TYPO3_REQUEST_SCRIPT: http://t3.local/typo3/install/index.php
    TYPO3_REQUEST_DIR : http://t3.local/typo3/install/
    TYPO3_SITE_URL : http://t3.local/
    TYPO3_SITE_SCRIPT : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
    TYPO3_SSL :
    SCRIPT_NAME : /typo3/install/index.php
    TYPO3_DOCUMENT_ROOT : C:/usr/www/typo3
    SCRIPT_FILENAME : C:/usr/www/typo3/typo3/install/index.php
    REMOTE_ADDR : 127.0.0.1
    REMOTE_HOST :
    HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
    HTTP_ACCEPT_LANGUAGE: en,en-us;q=0.8,de-de;q=0.5,de;q=0.3
    CONST: PHP_OS : WINNT
    CONST: TYPO3_OS : WIN
    CONST: PATH_thisScri: C:/usr/www/typo3/typo3/install/index.php
    CONST: php_sapi_name: apache2handler
    OTHER: TYPO3_VERSION: 4.0
    OTHER: PHP_VERSION : 5.1.2
    imagecreatefromgif(): 1
    imagecreatefrompng(): 1
    imagecreatefromjpeg(: 1
    imagegif() : 1
    imagepng() : 1
    imagejpeg() : 1
    imagettftext() : 1
    OTHER: IMAGE_TYPES : 15
    OTHER: memory_limit :
    SERVER: SERVER_PORT : 80
    SERVER: SERVER_SOFTW: Apache/2.0.55 (Win32) PHP/5.1.2
    SERVER: GATEWAY_INTE: CGI/1.1
    SERVER: SCRIPT_NAME : /typo3/install/index.php
    SERVER: PATH_TRANSLA:
    T3CV_GFX: image_proc: 1
    T3CV_GFX: gdlib : 1
    T3CV_GFX: gdlib_png : 0
    T3CV_GFX: gdlib_2 : 0
    T3CV_GFX: im : 1
    T3CV_GFX: im_path : /usr/X11R6/bin/
    T3CV_GFX: im_path_lz: /usr/bin/
    T3CV_GFX: im_version:
    T3CV_GFX: im_negate_: 0
    T3CV_GFX: im_imvMask: 0
    T3CV_GFX: im_combine: combine
  2. DEBUG SYSTEM INFORMATION - END ###
    (issue imported from #M3224)

Files

directory_special_no_submenus.png (3.4 KB) directory_special_no_submenus.png Administrator Admin, 2006-04-10 17:26

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #20208: 00633 not fixed in latest versions of Typo3ClosedChristian Kuhn2009-03-19

Actions
Has duplicate TYPO3 Core - Feature #14463: Menu doesn't expand if ".special" is setClosedBernhard Kraft2004-12-21

Actions
Actions

Also available in: Atom PDF