Bug #21227
closed
Section "Help" is shown even with no subelements
Added by Georg Ringer about 15 years ago.
Updated about 6 years ago.
Description
Since 4.3. it is possible to hide all elements of the "Help" module which is really great but if no sub element is rendered the headline shold also not be rendered.
The headline is clickable and loads the very stange file "typo3/dummy.php"
(issue imported from #M12179)
Files
Hi Georg,
thank you for your fix!
I also noticed this problem; this is a duplicate of #21072.
ah damn, it seems I overlooked something ...
can you please check the patch and report in the core list if it works? thanks
Hi Georg,
since the newsgroup-server is unavailable till sunday, let's continue here:
Your patch correctly hides empty modules.
But there is one problem with this:
There are some extensions (e.g. llxmltranslate) which create modules with no submodule in it.
These are now hidden too, so that you cannot use these extensions any longer.
I think it is illogical that there are modules without submodule, but as long as this is not changed, your patch will have to be adjusted.
I think it would be enough to just check for the help module and to remove that, if it is empty.
IMO that makes no sense for me cause those kind of hacks are not very nice. I guess it is best to wait for newsgroups to be back and discuss that in the general list
hide main title if no sub module is there
Yes, as I wrote: That is the logical solution.
But you cannot introduce it as long as there are extensions illogically using empty submodules (like llxmltranslate) or you will break them.
But we want to solve this "empty-module"-thing now, right?
Another idea: What, if you add the help module to the list "Access rights" > "Modules" in the user-settings.
See here: http://bugs.typo3.org/file_download.php?file_id=8362&type=bug
Than it could be deactivated and we would not need to wait until existing extensions are adjusted.
committed to trunk rev 6958
- Target version deleted (
4.4.0)
- Status changed from Closed to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35730
- Description updated (diff)
- Status changed from Under Review to Resolved
- Is Regression set to No
- Status changed from Resolved to Closed
Also available in: Atom
PDF