Feature #6048
Use TypoLinks in [URL=]
| 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.).
History
Updated by Hauke Hain over 3 years ago
- File patchTypoLinks.patch added
- % Done changed from 0 to 90
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
- File tt_news_linkhandler.png added
I attached an image which shows where the linkhandler TypoScript has be be added. May be useful for the manual.