Muốn từ template mà set biến vào PAGE_CONTAINER thì phải dùng: PHP: <xen:container var="$position">{VALUE_HERE}</xen:container>