CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #6048

Use TypoLinks in [URL=]

Added by Hauke Hain over 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2010-01-16
Priority:Should have Due date:
Assignee:Hauke Hain % Done:

100%

Category:Forum
Target version:1.9.0
Votes: 0

Description

It should be possible to create links like in TYPO3 (only with the PID etc.).

patchTypoLinks.patch (3.8 kB) Hauke Hain, 2010-01-16 18:02

tt_news_linkhandler.png (49.5 kB) Hauke Hain, 2010-04-05 13:07

History

Updated by Hauke Hain over 3 years ago

I added a patch which I will commit soon.
I works pretty well. I uses the TypoScript of the linkhanlder of the tinymce_rte extension.

To create a typolink write records:page:1 (for PID 1).

I use the following TypoScript to get links like record:tt_news:8 working (8 is the tt_news record ID).

{
  tt_news {
    default {
      # instead of default you could write the id of the storage folder
      # id of the Single News Page
      parameter = 17
      additionalParams.cObject = COA
      additionalParams.cObject {
        5 = TEXT
        5{
          field = uid
          wrap = &tx_ttnews[tt_news]=|
        }
        10 = TEXT
        10{
          field = datetime
          strftime = %Y
          wrap = &tx_ttnews[year]=|
        }
        20 = TEXT
        20{
          field = datetime
          strftime = %m
          wrap = &tx_ttnews[month]=|
        }
      }
      # you need: uid, hidden, header [this is the displayed title] (use xx as header to select other properties)
      # you can provide: bodytext [alternative title], starttime, endtime [to display the current status]
      select = uid,title as header,hidden,starttime,endtime,bodytext,datetime
      sorting = crdate
    }
  }
}

Updated by Hauke Hain over 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Please test the new function. It works like a charm - at least for me...

Updated by Hauke Hain about 3 years ago

I attached an image which shows where the linkhandler TypoScript has be be added. May be useful for the manual.

Also available in: Atom PDF