Is is possible to define a link parameter as I have suggested below to set a title when creating a new thread. The code modifies the Post New Thread link to include a "title" parameter.
(Taken from the forum_view template.)
The above code wouldn't work, but it is to illustrate what I'm trying to do. $title would only exist in some cases.
(Taken from the forum_view template.)
Code:
<xen:set var="title">0</xen:set>
<xen:if is="{forum.node_id} == 10">
<xen:set var="title">title=A%20Test%29Title</xen:set>
</xen:if>
<xen:set var="$newDiscussionButton"><a href="{xen:link 'forums/create-thread', $forum, $title}" class="callToAction"><span>{xen:phrase post_new_thread}</span></a></xen:set>
The above code wouldn't work, but it is to illustrate what I'm trying to do. $title would only exist in some cases.