XF 2.1 Cheat sheet for coding functions?

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.

02da1126e8e37212cf8abbf6450bc1ef.webp

922756746ea617dca4f114e1ceefbeac.webp

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>
 
Top Bottom