Keşfet

Using Thread ID in message_macro

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
4,482
Tepkime puanı
284
Konum
Türkiye
Web sitesi
fivetu.xyz
I'm trying to pull the current thread ID for a thread to use to create a link in the message_macro template so that the user can click the generated link to see all of their posts in that thread. This is what I was using, which works... but only if you are looking at the newest thread. I've figured out that $__globals.forum.last_thread_id isn't the variable that I needed since it points to another thread. Any ideas?

Code:

<a href="{{ link('search/search', null, {'c[users]': $user.username...

Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol
 

Konu görüntüleyen kullanıcılar

Geri
Üst Alt