I've been trying to reverse engineer how to get the attachment system working with my blog addon for the past couple of days to no avail which is due to me taking extended breaks in creating this due to work and prepping for a out of state move.
So far I've added this to my controller
PHP:
Read more
Читать далее...
So far I've added this to my controller
PHP:
Код:
/** @var \XF\Repository\Attachment $attachmentRepo */
$attachmentRepo = $this->repository('XF:Attachment');
$attachmentData = $attachmentRepo->getEditorData(...
Read more
Читать далее...