Project

General

Profile

Actions

Bug #92752

open

linkhandler don't show up all classes in linkbrowser

Added by wini2 no-lastname-given over 3 years ago. Updated almost 2 years ago.

Status:
Needs Feedback
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 1 (1 open0 closed)

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

Actions
Actions #1

Updated by Riccardo De Contardi over 3 years ago

  • Category set to TypoScript
Actions #2

Updated by Philipp Kitzberger almost 2 years ago

  • Description updated (diff)
Actions #3

Updated by Philipp Kitzberger almost 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 almost 2 years ago

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

Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from New to Needs Feedback
Actions

Also available in: Atom PDF