Project

General

Profile

Actions

Bug #80052

closed

Basic ContextMenu / ClickMenu docs

Added by Christian Kuhn about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Documentation
Target version:
Start date:
2017-02-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

t3api should have (at least a short) chapter on how the new context menu implementation works and how it can be extended / reduced.

basic outline could be something like "wrapClickMenuOnIcon()" -> click -> ajax call calculates item prodiver -> canHandle() (?) -> addItems() ... very roughly like that.

also mention how single items can be kicked from the list, maybe via pageTs for instance or by adding an own item provider that removes stuff again.

talk about item priorities and that an existing priority is overriden by an item provider with same prio.

tell how to register js into the click menu as requireJs modul.

tell about "context", how it is used and how it should be used.


Files

disable-delete.png (19.6 KB) disable-delete.png Xavier Perseguers, 2017-02-28 10:42
Actions #1

Updated by Xavier Perseguers about 7 years ago

Created a gist with a complete example on how to disable the "delete" entry for pages:

https://gist.github.com/xperseguers/2a11d915f6827adb74d8b988d97c595e

Actions #2

Updated by Tymoteusz Motylewski about 7 years ago

  • Assignee set to Tymoteusz Motylewski
Actions #3

Updated by Riccardo De Contardi about 7 years ago

  • Category set to Documentation
Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF