creativeforge
Well-known member
Hi, I'm wondering if there exist a cheat sheet for functions codes?
I'd like to add SEARCH THREAD to the small menu on the top of threads.
There is a thread-view template I could edit, but can't find the equivalent code for search-thread. Here's the other items code. Is there a cheat sheet for such codes?
I'd like to add SEARCH THREAD to the small menu on the top of threads.
There is a thread-view template I could edit, but can't find the equivalent code for search-thread. Here's the other items code. Is there a cheat sheet for such codes?
Code:
<xf:if is="$thread.canCreatePoll()">
<a href="{{ link('threads/poll/create', $thread) }}" data-xf-click="overlay" class="menu-linkRow">{{ phrase('create_poll') }}</a>
</xf:if>
<xf:if is="$thread.canDelete('soft')">
<a href="{{ link('threads/delete', $thread) }}" data-xf-click="overlay" class="menu-linkRow">{{ phrase('delete_thread') }}</a>
</xf:if>
<xf:if is="$thread.canMove()">
<a href="{{ link('threads/move', $thread) }}" data-xf-click="overlay" class="menu-linkRow">{{ phrase('move_thread') }}</a>
</xf:if>