buildpubliclink

  1. Nobitakung

    How to build addon link in PHP code

    Hi, I'd like to build links to pages which are generated from an addon (Showcase) in PHP code -- not in template. Anyone please advise how to do that? Create the route object and call its buildLink method? While searching I found XenForo_Link::buildBasicLink and XenForo_Link:buildPublicLink...
  2. Stuart Wright

    XF 1.5 Use buildPublicLink to open a link in a modal?

    $extraTabs['trending-topics'] = array( 'title' => new XenForo_Phrase('avf_trending_topics'), 'href' => XenForo_Link::buildPublicLink('full:trending-topics'), 'position' => 'middle' ); I'm trying to add some new code similar to the above to an existing...
Top