TYPO3 Logo
JAR Utilities
Release: 1.0

Loading data.

  • Introduction
  • Installation
  • Overview
  • Data Processors
    • GetRow Processor
    • Link Processor
    • Localization Processor
    • Reflection Processor
  • Services
    • Reflection Service
    • Registry Service
  • Utilities
    • Backend Utility
    • Content Utility
    • Data Utility
    • Extension Utility
    • File Utility
    • Format Utility
    • Frontend Utility
    • Iterator Utility
    • Localization Utility
    • Number Utility
    • Page Utility
    • String Utility
    • TCA Utility
    • TypoScript Utility
    • Wildcard Utility
  • Sitemap
  • Index

PAGE CONTENTS

  • Link Processor
    • Output
    • Example Case
  1. Start
  2. Data Processors
  3. Link Processor
View source How to edit Edit on GitHub

Display settings


Color scheme of code blocks:


Link Processor¶

Creates a link on a (mainly) dataprocessed element

Parameter

Description

page

PID of the target page

title

Linktitle

class

Link CSS Class

target

Linktarget

params

Additional params which will prepend as GET-Parameters

as

If set, the link would be stored in this key, otherwise the key "link" is used

flat

if true - direct return the URL otherwise return link object (default false)

Output¶

Same as Link (TCA type input with renderType inputLink)

Example Case¶

Building detail-links for a joblist

tt_content.tx_myextension_joblistctype {
   dataProcessing {
      10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
      10 {
         table = tx_myextension_jobs
         pidInList = 266
         as = jobs
         dataProcessing {
            10 = Jar\Utilities\DataProcessing\LinkProcessor
            10 {
               page = 187
               title = TEXT
               title.data = field:title
               as = detail_link
               params {
                  jobid = TEXT
                  jobid.data = field:uid
               }
            }
         }
      }
   }
}
  • Previous
  • Next
  • Contact
  • Issues
  • Repository

Page last updated: Jan 15, 2024 11:09

Last rendered: Jan 15, 2024 11:15

  • TYPO3 Theme 4.9.0
  • DRC v3.2.1
© Copyright by invokable GmbH
  • Legal Notice
  • Privacy Policy
  • Code of Conduct