Integration of EXT:paste_reference into TYPO3 core

by Ephraim Härer

What is your idea about?
Copy and paste references of elements in TYPO3 backend instead of inserting copies.

What do you want to achieve by the end of Q3 2024?

Full preparation for TYPO3 12 LTS and TYPO3 13 (before feature freeze).

What is the potential impact of your idea for the overall goal?

Bring a very often used feature into TYPO3 core according to guidelines of core team and with same implementation like other backend scripts.

Which budget do you need for your idea?
3.000 Euro

Please note: After the start of the voting we can not change the idea description nor the idea outcome. If this idea is selected by the members, it must be archived as described.

5 Likes

Can you please add an example? I don’t understand your problem/wish.

@froemken This is a suggestion to integrate the paste as reference feature, known from gridelements (which most people forget that this is not a core feature) and missing it when migrating away from gridelements.

There is also a dedicated extension called paste_reference which does only the paste_reference stuff without additional gridlement addion.

As far as I understand this proposal, it is about having that JavaScript (TypeScript) along with some coloring preview rendering (PageLayout module) like gridelements/paste_reference directly in the core - because that would mean that the core have to maintain it, mainly because not many people are contributing to the paste_reference extension.

On Top of that, I guess the core integration would require some kind of registry/event system to allow extension to register/intervine here (for example Gridelements).

1 Like

Hi @froemken,
It’s exactly what @stefan.buerk has written down.
To see this feature in TYPO3 12 you can use the branch for TYPO3 12:

Do I have to ask somebody from the core team before how we could get this to work and if this could be an option or not @stefan.buerk ?

For those who are not familiar with the paste reference feature from gridelements can you please describe the benefit of paste_reference over the “Insert Record” content element which already exists in the core.

1 Like

Hello Peter,
yes I can describe it in detail:
Very often a backend editor copies content and insert it a another place to have the same content there, e.g. also with forms and other plugins.
Often it is not needed to have a full copy of there record, a reference would be the best.
The core has it’s own content element to bring the functionality of references, but it is not integrated in the context menu or in the backend modals if a record will be copied.
The extension brings the functionality to have this option e.g. with a right click in the context menu or when inserting a record into a column.

1 Like

Many thanks to all voting for this project but for me it is not possible to fullfill it by myself because of time and I do not have the best skills to do a full integration into TYPO3 12 and 13 or bring it next or into the TYPO3 core.

If somebody wants to do the work and take over the extension, please let me know.
I tried it, but I cannot fulfill the requirements; there are open issues and an unfinished version for TYPO3 12.

I should have sought support for this project earlier.

Github-Repo: https://github.com/Kephson/paste_reference
Open issues: https://github.com/Kephson/paste_reference/issues
TYPO3 11.5 branch: https://packagist.org/packages/ehaerer/paste-reference#dev-main
TYPO3 12.4 branch: https://packagist.org/packages/ehaerer/paste-reference#dev-TYPO3_12
TYPO3 12.4 development branch: https://packagist.org/packages/ehaerer/paste-reference#dev-development

Presentation with needed changes and old timelines:
https://docs.google.com/presentation/d/1L9TtXyNJHbhlYEh0spiOtNvyncPAbsfvPyZdvCs7ZVU/edit?usp=sharing

Feel free to contact me.

3 Likes

An update regarding this idea: @david_bruchmann1 will take over this idea and finish it as stand alone extension. :pray:

First PR for v12: Compatibility v12.4 by DavidBruchmann · Pull Request #50 · Kephson/paste_reference · GitHub

1 Like

The extension Paste Reference (paste_reference) exists now in version 3 for TYPO3 v12 and in version 4 for TYPO3 v13.

Packagist; ehaerer/paste-reference - Packagist
TER: TYPO3 Extension 'Paste reference for content elements' (paste_reference)
Github-Repo: GitHub - Kephson/paste_reference: Paste reference instead of copy for content elements in TYPO3

Thanks a lot to all people who contributed by reviews or further actions, especially to Ephraim Härer who supported me always with fast and conscientious releases as well as with motivating words.