---
title: "t3blog lastposts in TS"
url: "https://www.typo3.net/d/116017-t3blog-lastposts-in-ts"
source: "typo3.net"
tags: ["Extensions","Blog","Frage","TYPO3 4.x"]
created: "2013-09-16"
last_reply: "2013-09-17"
replies: 2
solved: true
page: 1
pages: 1
lang: "de"
---

# t3blog lastposts in TS

Extensions · 2 Antworten · gelöst · gestartet 2013-09-16

## Frage

**sma123** · 2013-09-16 · [Beitrag #1](https://www.typo3.net/d/116017-t3blog-lastposts-in-ts/1)

Hallo,

ich will die neuesten Blogeinträge per TS in Marker einsetzen. Geht alles bis auf die Verlinkung.
Wie bekomme ich die UID als Parameter hinein? Hat jemand eine Idee??

```typoscript
 lib.news1= CONTENT
       lib.news1{
         wrap = <div class="module-title"><h2 class="title">BLOG</h2></div>|
         table = tx_t3blog_post
         select.orderBy = tstamp DESC
         select.pidInList = 5
         select.max= 3  
         renderObj = COA
         renderObj  {
           1 = TEXT
           1.field=title
           1.crop = 50|...|1
           1.wrap = <b>|</b>
           1.typolink.parameter.field=pid
          # 1.typolink.parameter.dataWrap=|
           1.typolink.additionalParams=&tx_t3blog_pi1[blogList][showUid]={field:uid}
           1.title = Zum Beitrag
           1.typolink.no_cache=1
           2 = TEXT
           2.field = tstamp
           2.date = d.m.y          
           2.wrap = <p class="date">|</p>
        }
}
```

Ergebnis der URL ist : ?tx_t3blog_pi1[blogList][showUid]={field:uid} Also OHNE UID

## Beste Antwort

**sma123** · 2013-09-17 · [Beitrag #3](https://www.typo3.net/d/116017-t3blog-lastposts-in-ts/3)

OK, habs gelöst. Nachfolgende Bariante geht:

```typoscript
      lib.news1= CONTENT
       lib.news1{
         wrap = <div class="module-title"><h2 class="title">BLOG</h2></div>|
         table = tx_t3blog_post
         select.orderBy = tstamp DESC
         select.pidInList = 5
         select.max= 3   
         renderObj = COA
         renderObj  {
           1 = TEXT
           1.field=title
           1.crop = 50|...|1
           1.wrap = <b>|</b>
           1.typolink{
             parameter.field=pid
             additionalParams.dataWrap=&tx_t3blog_pi1[blogList][showUid]={field:uid}
             useCacheHash =0
             title=zum Blogbeitrag
             no_cache=1
           }
           2 = TEXT
           2.field = tstamp
           2.date = d.m.y          
           2.wrap = <p class="date">|</p>
        }
}
```

## Antworten

### [#2](https://www.typo3.net/d/116017-t3blog-lastposts-in-ts/2) · sma123 · 2013-09-17

OK, habs gelöst. Nachfolgende Bariante geht:

```typoscript
      lib.news1= CONTENT
       lib.news1{
         wrap = <div class="module-title"><h2 class="title">BLOG</h2></div>|
         table = tx_t3blog_post
         select.orderBy = tstamp DESC
         select.pidInList = 5
         select.max= 3   
         renderObj = COA
         renderObj  {
           1 = TEXT
           1.field=title
           1.crop = 50|...|1
           1.wrap = <b>|</b>
           1.typolink{
             parameter.field=pid
             additionalParams.dataWrap=&tx_t3blog_pi1[blogList][showUid]={field:uid}
             useCacheHash =0
             title=zum Blogbeitrag
             no_cache=1
           }
           2 = TEXT
           2.field = tstamp
           2.date = d.m.y          
           2.wrap = <p class="date">|</p>
        }
}
```

### [#3](https://www.typo3.net/d/116017-t3blog-lastposts-in-ts/3) · sma123 · 2013-09-17 · Beste Antwort

(Text siehe oben unter „Beste Antwort“.)

---

Quelle: „t3blog lastposts in TS“, typo3.net, https://www.typo3.net/d/116017-t3blog-lastposts-in-ts
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
