RSS Feed/News Template in template should know vars?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,921
Points
823

Reputation:

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

Continue reading...
 
Status
Not open for further replies.
Top