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

Add an HTML block on XenPorta

Discussion in 'Styling and Customization Questions' started by pavenleo, Jul 8, 2012.

  1. pavenleo

    pavenleo Member

    Hi all,

    I want to have a HTML block on just XenPorta portal's side bar. I tried using Widget Framework, but it has no option to populate on the portal, while blocks appear all over my site(except the portal). I also tried using XenPorta's block, but don't know where to create HTML block.

    I am new to Xenforo, and sorry if my question sounds stupid. Any suggestions will be greatly appreciated.

    Thanks in advance,
  2. Matthew2D

    Matthew2D Well-Known Member

    I am positive that the widget framework has an option for HTML. If you can figure it out just PM me and I'll help you. But, here is something you can try.

    <xen:if hascontent="true">
        <div class="section">
            <div class="secondaryContent">
                <h3>YOUR TEXT HERE</h3>
                        HTML CONTENT HERE
    I am pretty sure that will work. To apply go to the index template for xenporta. I am pretty sure it is called xenporta_index. In the template scroll down till you see some code that looks like the one above. And just put the code anywhere in that area.

Share This Page