CoreCommunity ExtensionsDistributionsFeature-RequestsTYPO3 6.2 Projects (+)(Archived Projects)

Bug #43542

TV does not respect "Show in Section Menus"

Added by Tolleiv Nietsch over 2 years ago. Updated 5 months ago.

Status:Resolved Start date:2012-12-03
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:-
Target version:1.9.5
TYPO3 Version:4.7 Reporter:
PHP Version:5.3 Is Regression:No
Has patch:No Affected Version:

Description

After upgrading to 1.7.0 we found out, that TV is not respecting the above mentioned setting in the page properties anymore. It will show any content in section menu.

Furthermore even hidden content is included in the section menu.

-> Copied from http://bugs.typo3.org/view.php?id=18524


Related issues

duplicated by TemplaVoila - Bug #45583: improper render of sectionIndex Resolved 2013-02-18

Associated revisions

Revision 33f3e535
Added by Tolleiv Nietsch 5 months ago

[BUGFIX] Make sectionIndex aware of the "hide" flag

Resolves: #43543
Resolves: #43542
Resolves: #46487
Releases: 1.9

Change-Id: Ica7dd9350687cd04e31c56d35b976d97a3923977
Reviewed-on: http://review.typo3.org/37699
Reviewed-by: Jose Antonio Guerra <>
Tested-by: Jose Antonio Guerra <>
Reviewed-by: Alexander Schnitzler <>
Tested-by: Alexander Schnitzler <>

History

#1 Updated by Alexander Schnitzler over 1 year ago

  • Target version set to 1.9.1

#2 Updated by Christian Nölle about 1 year ago

Just to clarify this, as the old bugs.typo3.org is not accessible any more and the solution was recorded on this:

One has to change in ext_localconf.php round abtou line 17

//sectionIndex replacement    
$tvSetup[] = 'tt_content.menu.20.3 = USER    
tt_content.menu.20.3.userFunc = tx_templavoila_pi1->tvSectionIndex
tt_content.menu.20.3.select.where >
tt_content.menu.20.3.indexField.data = register:tx_templavoila_pi1.current_field    
';

to

//sectionIndex replacement
$tvSetup[] = 'tt_content.menu.20.3 = USER
tt_content.menu.20.3.userFunc = tx_templavoila_pi1->tvSectionIndex
tt_content.menu.20.3.select.where >
tt_content.menu.20.3.indexField.data = register:tx_templavoila_pi1.current_field
tt_content.menu.20.3.renderObj.if.value.field = sectionIndex
tt_content.menu.20.3.renderObj.if.equals = 1
';

#3 Updated by Christian Nölle about 1 year ago

Just tried a pull request on Github... Not very familiar with that... :D

#4 Updated by Alexander Schnitzler about 1 year ago

  • Target version changed from 1.9.1 to 1.9.2
  • Is Regression set to No

#5 Updated by Gerrit Code Review 6 months ago

  • Status changed from Accepted to Under Review

Patch set 2 for branch master of project TYPO3CMS/Extensions/templavoila has been pushed to the review server.
It is available at http://review.typo3.org/15601

#6 Updated by Alexander Schnitzler 5 months ago

  • Target version changed from 1.9.2 to 1.9.x

#7 Updated by Gerrit Code Review 5 months ago

Patch set 1 for branch templavoila_1-9 of project TYPO3CMS/Extensions/templavoila has been pushed to the review server.
It is available at http://review.typo3.org/37699

#8 Updated by Alexander Schnitzler 5 months ago

  • Target version changed from 1.9.x to 1.9.5

#9 Updated by Tolleiv Nietsch 5 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF