Project

General

Profile

Actions

Bug #92752

closed

linkhandler don't show up all classes in linkbrowser

Added by wini2 no-lastname-given about 4 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2020-11-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

i configured the linkbrowser for tx_news 8.5 with

page.ts

TCEMAIN.linkHandler.tx_news {
   handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
   label = News
   configuration {
      table = tx_news_domain_model_news
      storagePid = 41
      hidePageTree = 0
   }
   scanAfter = page
}

and ts-setup
config.recordLinks.tx_news {
   typolink {
      parameter = 42
      additionalParams.data = field:uid
      additionalParams.wrap = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]=|
      useCacheHash = 1 
   }
}

the linkbrowser don't show the page-css-class (in the select-dropdown) and title in the news-tab. all other classes (url, file, mail) are selectable.

my rte configuration

RTE.default.classesAnchor {
    page {
        class = internal-link
        type = page
        titleText = öffnet internen Link
    }    
}

RTE.default.buttons.link.page.properties.class.default = internal-link


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Feature #98074: Add class dropdown to regular linkbrowserNeeds Feedback2022-08-04

Actions
Related to TYPO3 Core - Bug #104157: Link Browser of TCA link fields and RTE links differs in link optionsClosed2024-06-20

Actions
Actions #1

Updated by Riccardo De Contardi almost 4 years ago

  • Category set to TypoScript
Actions #2

Updated by Philipp Kitzberger over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Philipp Kitzberger over 2 years ago

@wini, try migrating that configuration from PageTS to CKeditor yaml syntax, e.g.

buttons:
  link:
    tel:
      properties:
        class:
          fax: 'fax'
    properties:
      class:
        allowedClasses: 'fax'

classes:
  fax:
    name: 'Fax'

Defining a default class is not possible with CKeditor anymore. And the outside of CKeditor linkbrowser can't handle selectable classes at all.

Actions #4

Updated by Riccardo De Contardi over 2 years ago

  • Related to Feature #98074: Add class dropdown to regular linkbrowser added
Actions #5

Updated by Riccardo De Contardi over 2 years ago

  • Status changed from New to Needs Feedback
Actions #6

Updated by Garvin Hicking 5 months ago

  • Related to Bug #104157: Link Browser of TCA link fields and RTE links differs in link options added
Actions #7

Updated by Garvin Hicking 5 months ago

  • Status changed from Needs Feedback to Closed

Closing the issue as Philipp also stated, it needs YAML config. This has now also been better documented via #104157

Actions

Also available in: Atom PDF