Zum Inhalt springen

Bestimmten Datensatz der rechten Spalte ausgeben

Erstellt am 16. März 2006 · Noch keine Antworten

Tags: Inhaltselemente, Frage

Unbekannter Benutzer ·

Hall Forum,

wie kann ich bestimmte Datensätze mittels TS ansprechen.

Bisher habe ich das so gelöst:

page.30.marks{
  INHALT_RECHTS = CONTENT
  INHALT_RECHTS {
    table = tt_content
    select {
      where = colPos = 2
      orderBy = sorting
      languageField = sys_language_uid
      begin = 0
      max = 1
    }
    renderObj < tt_content
    renderObj.stdWrap.wrap (
      <table width="150" cellpadding="0" border="0" class="addon">
        <tr>
          <td>
            <p class="normal">
            <img src="{$pfad.images}icon_back.gif" width="14" height="11" border="0" alt="" />
            </p>
          </td>
          <td>
            |
          </td>
        </tr>
      </table>
    )
    renderObj.stdWrap.required = 1
  }
}

Beim nächsten würde dann im Prinzip das hier stehen:

page.30.marks{
  INHALT_RECHTS = CONTENT
  INHALT_RECHTS {
    table = tt_content
    select {
      where = colPos = 2
      orderBy = sorting
      languageField = sys_language_uid
      begin = 1
      max = 1
    }
    renderObj < tt_content
    renderObj.stdWrap.wrap (
      <table width="150" cellpadding="0" border="0" class="addon">
        <tr>
          <td>
            <p class="normal">
            <img src="{$pfad.images}icon_pdf.gif" width="14" height="11" border="0" alt="" />
            </p>
          </td>
          <td>
            |
          </td>
        </tr>
      </table>
    )
    renderObj.stdWrap.required = 1
  }
}

Also
begin = 1
ist anders und das Icon ändert sich jedesmal.

Leider komme ich da absolut nicht weiter.

Für Hilfe wäre ich sehr dankbar.

Grüße S.