HiHow do you replace the image with text?
Can you guide how to edit the template currently?Hi
You need edit template currently if you want do this
In next release you will can do it by option but i can’t provide ETA about this
Regards
yes, i'm not good at codingHi
You can find template start by xfa_lrva_ and edit it
Regards
<li class="attachment">
<div class="attachment-icon attachment-icon--img">
<a>
<img src="{$xf.options.xfa_lrva_thumbnail_replacement_image}" />
</a>
</div>
</li>
<li class="attachment">
Your text here
</li>
thank you very very much ^^In xfa_lrva_macros template you can replace
Code:<li class="attachment"> <div class="attachment-icon attachment-icon--img"> <a> <img src="{$xf.options.xfa_lrva_thumbnail_replacement_image}" /> </a> </div> </li>
by
Code:<li class="attachment"> Your text here </li>
And it's should work
ErrorException: [E_WARNING] Invalid argument supplied for foreach() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Post.php at line 35
XF::handlePhpError() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Post.php at line 35
XFA\LikeReplyViewAttachment\XF\Entity\Post->_hasLikePost() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Attachment.php at line 66
XFA\LikeReplyViewAttachment\XF\Entity\Attachment->canViewLrva() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Attachment.php at line 25
XFA\LikeReplyViewAttachment\XF\Entity\Attachment->canView() in src/XF/Pub/Controller/Attachment.php at line 31
XF\Pub\Controller\Attachment->actionIndex() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
XF\App->run() in src/XF.php at line 517
XF::runApp() in index.php at line 20
Hi,Hello, when I try to download something in the attachment, I get this error message
Code:ErrorException: [E_WARNING] Invalid argument supplied for foreach() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Post.php at line 35 XF::handlePhpError() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Post.php at line 35 XFA\LikeReplyViewAttachment\XF\Entity\Post->_hasLikePost() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Attachment.php at line 66 XFA\LikeReplyViewAttachment\XF\Entity\Attachment->canViewLrva() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Attachment.php at line 25 XFA\LikeReplyViewAttachment\XF\Entity\Attachment->canView() in src/XF/Pub/Controller/Attachment.php at line 31 XF\Pub\Controller\Attachment->actionIndex() in src/XF/Mvc/Dispatcher.php at line 352 XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259 XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115 XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57 XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351 XF\App->run() in src/XF.php at line 517 XF::runApp() in index.php at line 20
How can I solve the problem and what is the reason?
New features
- Fix database issue
- Remplacement mode: You can choose between an image or a phrase
- Mode: You can choose between:
- Only like
- Only post
- Like and post
- Like or post
- Refresh post on Like (experimental)
We use essential cookies to make this site work, and optional cookies to enhance your experience.