I was wondering how would I move the images on the signature to be underneath the signature instead of the top. Also, is there any way to show up to 5 items but to make it random? (Currently it only show the first ones that you got) Thank you!
You can do this by opening file \library\Brivium\StoreProduct\ImageSignature\EventListeners\Listener.php and find Code: case 'message_content': $newTemplate = $template->create('BRSIS_image_signatures',$template->getParams()); $newTemplate->setParams($hookParams); $contents .= $newTemplate->render(); break; Replace with Code: case 'message_content': $newTemplate = $template->create('BRSIS_image_signatures',$template->getParams()); $newTemplate->setParams($hookParams); $contents = $newTemplate->render().$contents; break; Regards,
I think you copy the same info on replace. The two are about the same except for Code: $contents = .$newTemplate->render(); but if I use it, it gives me a syntax error.
I'm so sorry. Please try with Code: case 'message_content': $newTemplate = $template->create('BRSIS_image_signatures',$template->getParams()); $newTemplate->setParams($hookParams); $contents = $newTemplate->render().$contents; break; Regards,
Thank you, but that actually put it on top of everything.I'm trying to put it at the bottom of the signature, like this: Thank you for your help.
If you want to display below signature, you can replace with Code: case 'message_below': $newTemplate = $template->create('BRSIS_image_signatures',$template->getParams()); $newTemplate->setParams($hookParams); $contents .= $newTemplate->render(); break;
Sorry to be such a bother, but that did not seem to work. I used the code and now I can't see them. Is there anything else I could do? Thank you