---
title: "Link Plugin??"
url: "https://www.typo3.net/d/831-link-plugin"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage"]
created: "2002-12-10"
last_reply: "2002-12-11"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Link Plugin??

TYPO3 › TypoScript · 1 Antwort · gestartet 2002-12-10

## Eröffnungsbeitrag

**nazgul23** · 2002-12-10 · [Beitrag #1](https://www.typo3.net/d/831-link-plugin/1)

Hi,

ich bin mit PHP noch nicht so richtig bewand. Auf der Beispielseite steht, dass es noch kein Script für Link-Plugin gibt.
Hat jemand von euch schon so ein Script gemacht??
was für Variablen hab ich den zu verfühgung und wie heißen die?? (Falls ich das script selber schreiben darf ;))

Viele Grüße
nazgul

## Antworten

### [#2](https://www.typo3.net/d/831-link-plugin/2) · maxmin · 2002-12-11

ich bin auch auf der suche danach... ich bringe diese links-extension einfach nicht zum laufen.
folgendes hab ich aber im mailinglist-archiv gefunden, vielleicht kannst du damit was anfangen.

Constants:

content.tt_links {
  name.wrap = <h3> |</h3>
  name.case = upper
  info.wrap = <font face=Arial size=2> |</font>
  image.width = 120
  orderBy = name
    # cat=address//; type=options[,DESC]; label=Reverse order (DESC)?
  desc =
}

Setup:

## Introducing rendering information for tt_address:
tt_links = COA
tt_links {
  wrap = <TABLE border=0 cellpadding=0 cellspacing=0><tr><td valign=top>
| </tr></table>

20 = COA
  20.wrap = {$content.tt_links.info.wrap}
  20 {
    20 = TEXT
    20.if.isTrue.field = title
    20.dataWrap = <BR><A target="_blank"
href="{field:url}">{field:title}</A> <BR>

    21 = TEXT
    21.if.isTrue.field = note
    21.dataWrap = {field:note}<BR>

}
}

## Transfering to the tt_content.list object:
tt_content.list.20.1 >
tt_content.list.20.1= CASE
tt_content.list.20.1key.field = layout
tt_content.list.20.10 = CONTENT
tt_content.list.20.10 {
  table = tt_links
#  select.pidInList.field = pages
  select.orderBy = {$content.tt_links.orderBy} {$content.tt_links.desc}
}

dann ein reply darauf:

I just tried to use this sampled code, but had to fix it. There it is:

Constants:

content.tt_links {

....

orderBy = title

^----------------------------------------- tt_links
has a "title" field, but no "name" field

Setup:

## Transfering to the tt_content.list object:
...

tt_content.list.20.1.key.field = layout
                                 ^-----------------------------  There is a
period between 1 & key

tt_content.list.20.1.0 = CONTENT
                                 ^----------------------------- There is a
period between 1 & 0 (otherwise, you would unset the plugin.indexsearch

tt_content.list.20.1.0 {
                                 ^-----------------------------  Idem

---

Quelle: „Link Plugin??“, typo3.net, https://www.typo3.net/d/831-link-plugin
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
