PDA

View Full Version : Make attachment to work on SHOWTHREAD Template


Shalom.
05-19-2015, 06:17 AM
hey guys, i need to make {vb:raw post.otherattachments} work on SHOWTHREAD Template.
how can i do this?

MarkFL
05-19-2015, 06:31 AM
That variable is meant to be used in the postbit templates, as it pertains to a post not a thread. What exactly are you trying to do?

Black Snow
05-19-2015, 06:35 AM
hey guys, i need to make {vb:raw post.otherattachments} work on SHOWTHREAD Template.
how can i do this?

That variable is meant to be used in the postbit templates, as it pertains to a post not a thread. What exactly are you trying to do?

{vb:raw post.otherattachments} is already shown on the SHOWTHREAD template. It is used in the postbit & postbit_legacy templates.

Shalom.
05-19-2015, 08:25 AM
{vb:raw post.otherattachments} is already shown on the SHOWTHREAD template. It is used in the postbit & postbit_legacy templates.

iknow its used on postbit templates, but i need to use it on SHOWTHREAD template.

Black Snow
05-19-2015, 09:03 AM
iknow its used on postbit templates, but i need to use it on SHOWTHREAD template.

Your postbit template is displayed on your SHOWTHREAD template therefore, your vb:raw function is already being used.

cellarius
05-19-2015, 09:49 AM
And how does that help?

Shalom.
05-19-2015, 03:49 PM
Your postbit template is displayed on your SHOWTHREAD template therefore, your vb:raw function is already being used.
when im trying to use {vb:raw post.otherattachments} on SHOWTHREAD template its not showing the results.
And how does that help?
Because i need to place the attachment on different place.

MarkFL
05-19-2015, 03:54 PM
...Because i need to place the attachment on different place.

You should edit your relevant postbit template instead to change the location of attachments. Attachments themselves are associated with posts, not with threads.