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

Forum Closed Template..?

Discussion in 'XenForo Questions and Support' started by Mikey, Feb 22, 2011.

  1. Mikey

    Mikey Well-Known Member

    So when you close the forum, the text the user specifies is put as a message to the user, where can I find the template which calls this?

    The aim is to style that area, put a <p class="importantMessage"></p> around the forum closed text.. but I can't find the right area in the right templates..
     
  2. GofD

    GofD Well-Known Member

    I believe it's an option? ACP > Home > Options > Board Active
     
  3. Mikey

    Mikey Well-Known Member

    yeah, but for example I want to have <p class="importantMessage"> around any text a user of the style enters there..

    So they don't HAVE to enter the HTML into the box, just their message..

    I think I figured a way about it any way.. in PAGE_CONTAINER I am thinking of having this code ..

    Code:
    <xen:if is="{$showBoardClosedNoticed}">
    <p class="importantMessage">
    </xen:if>
    {xen:raw $contents}
    <xen:if is="{$showBoardClosedNoticed}">
    </p>
    </xen:if>
    
    Unless anyone can say if there is there a more appropriate way to do this?

    edit: seems above code does not work anyway.
     
  4. Mike

    Mike XenForo Developer Staff Member

    There's no template for this - it just puts the string out into the container template.
     

Share This Page