matchCallback issue

Status
This content is read-only, or is not open for further replies.

grantus

Guest
offline
I'm trying to set up a bbcode embed but I can't get it to work.

I have my template being included:

Code:

<xf:include template="file_view" />

Then I have in the advanced options:

Code:

URL match callback: path\to\fileview and matchCallback as the method

I have this set in my class:

Code:

Code:
public static function matchCallback($url, $matchedId, \XF\Entity\BbCodeMediaSite $site, $siteId) {

}

My actionIndex method is what returns the file_id that I need (for my file_view template), so...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom