CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #34683

Add module for system folders

Added by Alexander Pankow about 1 year ago. Updated about 1 year ago.

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

34683.patch (1.2 kB) Reinhard Führicht, 2012-03-09 12:26

pagetreeicon01.png (500 Bytes) Alexander Pankow, 2012-03-09 15:04

pagetreeicon02.png (504 Bytes) Alexander Pankow, 2012-03-09 15:04

pagetreeicon03.png (602 Bytes) Alexander Pankow, 2012-03-09 15:04

Associated revisions

Revision 59096
Added by Reinhard Führicht about 1 year ago

Add nice icon if someone sets "Contains Plugin" option in page properties (fixes #34683)

Revision 59096
Added by Reinhard Führicht about 1 year ago

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

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.

Also available in: Atom PDF