Feature #34683
Add module for system folders
| Status: | Resolved | Start date: | 2012-03-09 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | Reinhard Führicht | % Done: | 100% |
|
| Category: | Core | |||
| Target version: | v1.3 | |||
| Votes: | 0 |
Description
It would be great, if you can add a module for system folders for a different icon, where log entries can be stored:
$TCA['pages']['columns']['module']['config']['items'][] = Array('LLL:EXT:'.$_EXTKEY.'/Resources/Language/locallang.xml:title', 'formhandler');
$ICON_TYPES['formhandler'] = array('icon' => t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif');
This provides a little bit more overview in the page tree in TYPO3 backend. :D
Associated revisions
Add nice icon if someone sets "Contains Plugin" option in page properties (fixes #34683)
Add nice icon if someone sets "Contains Plugin" option in page properties (fixes #34683)
History
Updated by Reinhard Führicht about 1 year ago
- File 34683.patch added
- Status changed from New to Needs Feedback
- Assignee set to Reinhard Führicht
- Target version set to v1.3
I added an icon file option for the dropdown i nthe page properties.
But:
The field 'module' in the tables pages is a VARCHAR field with length 10, so 'formhandler' is not possible as a value.
Solutions:
1) Use another key instead of 'formhandler' (e.g. 'formhandle')
2) Alter table 'pages' and increase the length of the field 'module'
I dislike both solutions.
Furthermore, the icon looks kind of weird in the page tree. There should be a new icon made for this purpose.
Updated by Alexander Pankow about 1 year ago
Oh, you're right.
I would suggest to use another key, for example "formlogs" or "formdata". I think that's the better option.
Do you have any ideas for a new icon? Maybe I can help you with this. ^^
Updated by Reinhard Führicht about 1 year ago
Alexander Pankow wrote:
Oh, you're right. I would suggest to use another key, for example "formlogs" or "formdata". I think that's the better option.
It is a possible workaround. For the future, it would of course be better if "module" would be at least varchar(20), but for now 'formlogs' should be OK.
Do you have any ideas for a new icon? Maybe I can help you with this. ^^
I was thinking of just a Sysfolder-Icon with the Formhandler logo at the bottom right.
Updated by Alexander Pankow about 1 year ago
- File pagetreeicon01.png added
- File pagetreeicon02.png added
- File pagetreeicon03.png added
I've created three first drafts for a page tree icon for formhandler.
See in attached files.
Updated by Reinhard Führicht about 1 year ago
Very nice, thanks!
Personally, I like the third one best.
Updated by Alexander Pankow about 1 year ago
No problem. :D
But I like the 1st and 2nd more, however you are the developer, choose what you want. :D
I'm happy, that this little thing will be added. ^^
Updated by Reinhard Führicht about 1 year ago
- Status changed from Needs Feedback to Resolved
- % Done changed from 0 to 100
Applied in changeset r59096.