• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

parameter

  1. CMTV

    XF 2.0 Adding a parameter to route

    Hello! In post_macros template I am adding an action-link (near like link): <a href="{{ link('posts/best', $post, {'thread_id': $thread.thread_id}) }}" class="actionBar-action actionBar-action--mq.is-selected">Best answer</a> Next I extend XF\Pub\Controller\Post.php class and adding...