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

post new thread button

Discussion in 'XenForo Questions and Support' started by bizpro, Feb 10, 2011.

  1. bizpro

    bizpro Member

    I want to move the post new thread button, which template do I edit?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The forum_view template contains the code for that:

    Code:
    <xen:if is="{$canPostThread}">
        <xen:set var="$newDiscussionButton"><a href="{xen:link 'forums/create-thread', $forum}" class="callToAction"><span>{xen:phrase post_new_thread}</span></a></xen:set>
        <xen:if is="!{$renderedNodes}">
            <xen:topctrl>{xen:raw $newDiscussionButton}</xen:topctrl>
        </xen:if>
    </xen:if>
    If you view the page source, you can determine the template by means of the class which is near the top of the page: <div id="content" class="forum_view">
     
  3. bizpro

    bizpro Member

    Thanks Brogan.

    Sorry Im a bit of a rookie...[​IMG]
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    No worries, we all had to start somewhere :)
     
  5. bizpro

    bizpro Member

    I want to center the button between the page navigation and "mark this forum read" link.
    How would I do that?
     

Share This Page