XF 1.1 Change "Post new Thread" target and text?

drawmonster

New member
I'm wanting to change the text and where the button points to. I need it to point to a different URL on the forum.

I've tried search, but I must be searching for the wrong terms or something. Thanks!!
 

Jake Bunce

XenForo moderator
Staff member
That is defined in this template:

Admin CP -> Appearance -> Templates -> forum_view

Rich (BB 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>
 

drawmonster

New member
Is there a way to change the target of the button on a per forum basis? We want the post button to direct the user to a specific form URL, depending on which forum they want to post in. I'm using Simple forms, and want each forum "Post new thread" button to point to it's own form.

And also, if I change the applied template do I have to customize this again?
 
Top