XenForo
Administrative
- Thread starter
- Admin
- #1
We can extend
In
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?
ادامه مطلب...
XF\BbCode\Renderer\Html[/code] to tell [icode]$options['viewAttachments'] = true;
In
XF\Entity\Attachment
we care for canViewbut ...
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?
ادامه مطلب...