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...
$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...