Template in template should know vars?

1. class1 fills a template "example" with some data, but we dont know the thread_it;
2. class c/p/thread shows the usual templates
3. a template mod adds template "example" to the usual template for thread.

How can i know $thread in the part of the template "example"?

template threads
some code, nowong $thread

includes template example, example knows nothing about $thread


Is there a magic to say:

Hey you template inside a template, i want you to know $thread from the template that...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ