DRE
Well-known member
I want to show customizable backgrounds on member's profile pages.
Can this be done by entering the template modification for the background INSIDE the PAGE_CONTAINER tmplate by using the following condition from FAQs?
Inspired by this thread http://xenforo.com/community/threads/enable-users-to-specify-a-custom-css-file.36695/
Can this be done by entering the template modification for the background INSIDE the PAGE_CONTAINER tmplate by using the following condition from FAQs?
Inspired by this thread http://xenforo.com/community/threads/enable-users-to-specify-a-custom-css-file.36695/
Brogan said:When working with the PAGE_CONTAINER template, you can pass variables from the view templates (category_view, forum_view, thread_view, etc.) using xen:container. The same applies to any templates which are included in the PAGE_CONTAINER template; the header or ad_header templates for example.
To use the $forum.node_id variable for example, you would add this to the PAGE_CONTAINER template: <xen:container var="$forumId">{$forum.node_id}</xen:container>.
Similarly for the $threadId variable, you would add this: <xen:container var="$threadId">{$thread.thread_id}</xen:container>.