• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

HTML in pages.

#1
Hello,

I've just created a new page and i'm trying to add some content using HTML.

When I use tags such as <h1> and <strong> it doesn't appear to product anything, nor does it recognise "&nsbp;" for some reason.

I checked out the manual, and it offers code such as <zen:h1> but that didn't work either.....
 

HenrikHansen

Well-known member
#2
I have also had problems with this HTML in pages, so now I use this addon:
http://xenforo.com/community/resources/how-to-show-a-post-in-a-page.306/

It takes 5-10 minutes to set up for each page.
Create a forum with non-visible node to use for content for your pages and only you have access to view and edit.
Now you can use BBcodes and your normal forum editor to edit your pages. Eventually also downlaod the BB code manager in resources.
 

HenrikHansen

Well-known member
#4
OK, remember you can "mix" in template HTML in page options the code that gets your post content and eventually other HTML you want to add. I do not know if that helps.
 
#8

Jake Bunce

XenForo moderator
Staff member
#9
This works in my testing:

Code:
<xen:h1>boogie</xen:h1>
This is a XenForo function which passes the value to the h1 tag in the container (which is outside of your page HTML).

Screen shot 2012-07-30 at 7.07.26 PM.png