Hello, I'm currently using xenporta, and I want to pass a variable to the page_container template.
Currently I'm using this snippet of code:
and with css, it would position the avatar of the first poster (which in this case is author) to the left of the topic title. Unfortunately $posts doesn't seem accessible to page_container.
So my question is how would I make it so page_container can access $posts?
Currently I'm using this snippet of code:
Code:
<xen:if is="{$contentTemplate} == 'EWRporta2_ArticleView' || {$contentTemplate} == 'thread_view'">
<div class="userAvatar">
<xen:avatar user="$posts.{$thread.first_post_id}" size="s" />
</div>
</xen:if>
and with css, it would position the avatar of the first poster (which in this case is author) to the left of the topic title. Unfortunately $posts doesn't seem accessible to page_container.
So my question is how would I make it so page_container can access $posts?