BassMan Well-known member Sep 13, 2013 #1 Hi! How can I create a page to put something like this inside: <xen:include template="template_name" /> and make it as a homepage? Thanks in advance.
Hi! How can I create a page to put something like this inside: <xen:include template="template_name" /> and make it as a homepage? Thanks in advance.
Jeremy in memoriam 1991-2020 Sep 14, 2013 #2 You can't use xen syntax in pages IIRC. You'll need a custom add-on and then you can set the home page route. Upvote 0 Downvote
You can't use xen syntax in pages IIRC. You'll need a custom add-on and then you can set the home page route.
BassMan Well-known member Sep 14, 2013 #3 Jeremy said: You can't use xen syntax in pages IIRC. You'll need a custom add-on and then you can set the home page route. Click to expand... Recommend any add-on for this? Upvote 0 Downvote
Jeremy said: You can't use xen syntax in pages IIRC. You'll need a custom add-on and then you can set the home page route. Click to expand... Recommend any add-on for this?
P Paul B XenForo moderator Staff member Sep 14, 2013 #4 Page nodes support xen syntax and html. Upvote 0 Downvote
BassMan Well-known member Sep 14, 2013 #5 Brogan said: Page nodes support xen syntax and html. Click to expand... But I've created a page and added above code (with some template) to template html, but it does not show anything. Upvote 0 Downvote
Brogan said: Page nodes support xen syntax and html. Click to expand... But I've created a page and added above code (with some template) to template html, but it does not show anything.
P Paul B XenForo moderator Staff member Sep 14, 2013 #6 I have many pages which include other templates. Why are you including a template? Why not just add the html code directly? If you are trying to run php functions then you will need to use the callback feature. Which template are you trying to include? Upvote 0 Downvote
I have many pages which include other templates. Why are you including a template? Why not just add the html code directly? If you are trying to run php functions then you will need to use the callback feature. Which template are you trying to include?
BassMan Well-known member Sep 14, 2013 #7 Well, I have this code: <xen:include template="BR_ModernStatistic" /> I would like that this add-on shows up on my home page. But only this addon and default xenforo sidebars. Upvote 0 Downvote
Well, I have this code: <xen:include template="BR_ModernStatistic" /> I would like that this add-on shows up on my home page. But only this addon and default xenforo sidebars.
P Paul B XenForo moderator Staff member Sep 14, 2013 #8 I don't know what that template or add-on does. You will need to contact the author but I suspect custom development will be required. Upvote 0 Downvote
I don't know what that template or add-on does. You will need to contact the author but I suspect custom development will be required.
BassMan Well-known member Sep 14, 2013 #9 Brogan said: I don't know what that template or add-on does. You will need to contact the author but I suspect custom development will be required. Click to expand... Ok, thank you. Upvote 0 Downvote
Brogan said: I don't know what that template or add-on does. You will need to contact the author but I suspect custom development will be required. Click to expand... Ok, thank you.