Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
We can extend XF\BbCode\Renderer\Html[/code]to tell
$options['viewAttachments'] = true;
In XF\Entity\Attachment we care for canView
but ...
I want to do this only for one part of my site.
In forum and threads and resources/updates everything should be like normal, guests can't see full attachments.
But in /mynewpage i want to show them.
Do I have any information like: I come from class xyz or my context is yxz?
If not, how can I do that, please?