This Resource is Unsupported - 7/15/2012
I created this template modification so that my site members can post a new thread from the forum home. This is different from the original thread I posted because you now have to be logged in to see the button. All I did was re-use the RSS button code, nothing special. You will have to play around with the code to align it how you want. I've included blue, gray, pink, orange and yellow buttons in the zip. Original archived thread. The Addon version is here (different button used).
Search for nodeControls. It will be in template node_forum_level_2
Add the second line underneath nodeControls.
EXTRA.css
Screenshot:
I created this template modification so that my site members can post a new thread from the forum home. This is different from the original thread I posted because you now have to be logged in to see the button. All I did was re-use the RSS button code, nothing special. You will have to play around with the code to align it how you want. I've included blue, gray, pink, orange and yellow buttons in the zip. Original archived thread. The Addon version is here (different button used).
Search for nodeControls. It will be in template node_forum_level_2
Code:
<div class="nodeControls">
<xen:if is="{$visitor.user_id}">
<a href="{xen:link forums/create-thread, $forum}" class="postnTopic"></xen:if>
<a href="{xen:link forums/index.rss, $forum}" class="tinyIcon feedIcon" title="{xen:phrase rss}">{xen:phrase rss}</a>
</div>
Add the second line underneath nodeControls.
EXTRA.css
Code:
/* Add Post Topic icon to Node list */
.postnTopic {
background: transparent url('http://www.yoursite.com/images/topic.png');
padding: 2px;
opacity: 0.5;
float: left;
width: 50px;
height: 16px;
margin-right: 9px;
}
.postnTopic:hover {
opacity: 1;
}
Screenshot: