Help with bbcode and including template

  • Thread starter Thread starter grantus
  • Start date Start date

grantus

Guest
Member
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:

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...

Continue reading...
 
Top