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
- 24,669
- Points
- 823
Reputation:
I'm trying to include a template into a post but I don't know how I'm supposed to pass the {$id}.
For example I have this:
Code:
So it's calling the template but of course file_id is not working. file_id is what I use in my router format.
Continue reading...
For example I have this:
Code:
Code:
Matched URLs:
path/to/file-view/{$id}/
Embed template:
<xf:include template="file_view" name="file_view" file_id="{$id}" />
So it's calling the template but of course file_id is not working. file_id is what I use in my router format.
Continue reading...