[xFv] Well-known member Sep 22, 2017 #1 Whats the best way possible to hook a brand new style into XF2? Should I include a template in PAGE_CONTAINER, or extra.less, etc...?
Whats the best way possible to hook a brand new style into XF2? Should I include a template in PAGE_CONTAINER, or extra.less, etc...?
P Paul B XenForo moderator Staff member Sep 22, 2017 #2 It's not clear what you are trying to achieve. Styles are exported/imported. Upvote 0 Downvote
[xFv] Well-known member Sep 22, 2017 #3 Brogan said: It's not clear what you are trying to achieve. Styles are exported/imported. Click to expand... Well I am creating a style and I enabled designer mode. But the templates I created in the style, dont work. I know in XF1, used to be able to hook the new style in page_container to get the template working. I might have this all wrong Upvote 0 Downvote
Brogan said: It's not clear what you are trying to achieve. Styles are exported/imported. Click to expand... Well I am creating a style and I enabled designer mode. But the templates I created in the style, dont work. I know in XF1, used to be able to hook the new style in page_container to get the template working. I might have this all wrong
Steve F Well-known member Sep 22, 2017 #4 Do you mean include a template, so it's loaded on a particular page? To include a normal HTML template: Code: <xf:include template="template_name" /> Upvote 0 Downvote
Do you mean include a template, so it's loaded on a particular page? To include a normal HTML template: Code: <xf:include template="template_name" />