Bug #14337
closed"shorcut" page header doesn't show subtitle field
0%
Description
i think it would be useful to have the subtitle field shown also if the page header is set to be "shortcut".
that is because i'm using many "menu" plugin in other pages, and use the subtitle for e short description of the page.
what i'm doing now is to switch the page to "normal", edit the subtitle and then switch it back to "shortcut" (the field gets registered in the db anyway)
(issue imported from #M388)
Files
Updated by Daniel Poetzinger about 20 years ago
It is a simple configuration in TCA Array:
TCA[pages][types]3[showitem]
I dont know if it is relevant for all but I think it has no disadvantage to change it?
Updated by Michael Scharkow almost 20 years ago
This is still in 3.7 Also, external URL does not offer a subtitle field. Apart from bloating the Page Header Interface, would it hurt if we included it?
I could make a patch if anyone else thinks this is useful.
edited on: 02.02.05 20:07
Updated by Michael Stucki almost 20 years ago
Yes please make it available for those 2 page types.
Updated by Volker Graubaum almost 20 years ago
well if we've have a wish free, I wishes me the navtitle to.
It would be really nice, since IMHO every SEO side will have an different title(subtitle?) and navtitle :-)
Updated by Thomas Peterson about 19 years ago
With this diff you have subtitle:
_
--- ext_tables.php 12 May 2005 22:54:16 0000 1.18, abstract;;5;;3-3-3, keywords, description, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
++ ext_tables.php 10 Sep 2005 13:50:52 -0000@ -469,8 +469,8
@
$TCA['pages']['types'] = Array (
'1' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
'2' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div-'3' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, nav_hide, url;;;;3-3-3, urltype, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),'4' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, nav_hide, shortcut;;;;3-3-3, shortcut_mode, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
'3' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, url;;;;3-3-3, urltype, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
+'4' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, shortcut;;;;3-3-3, shortcut_mode, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
'5' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
'7' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, mount_pid;;;;3-3-3, mount_pid_ol, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
'199' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2, TSconfig;;6;nowrap;5-5-5, storage_pid;;7'),
___
Clear cache is required.
Or manuel:
In typo3\sysext\cms\ext_tables.php
edit this 2 lines:
'3' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, nav_hide, url;;;;3-3-3, urltype, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
'4' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, nav_hide, shortcut;;;;3-3-3, shortcut_mode, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
in:
'3' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, url;;;;3-3-3, urltype, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
'4' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, shortcut;;;;3-3-3, shortcut_mode, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
Updated by Michael Stucki about 19 years ago
Hi Thomas, thanks for your patch. I didn't test it but it looks just fine to me.
Regards, michael