General discussion of OpenCATS

Moderators: RussH, cptr13

Forum rules: Just remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but keep comments directed to the topic at hand.
#2351
(I'm sorry but I don't know where to put this)

If you want to change/edit the candidates profile picture in OpenCats it didn't show the current picture. Just a empty square.
The changes you have to make are minor.

You have to edit the file: ...\modules\candidates\CreateImageAttachmentModal.tpl

At line 12 and 13 you wil find:

<a href="attachments/<?php $this->_($attachmentsData['attachmentID']) ?>/<?php $this->_($attachmentsData['storedFilename']) ?>">
<img src="attachments/<?php $this->_($attachmentsData['attachmentID']) ?>/<?php $this->_($attachmentsData['storedFilename']) ?>" border="0" width="165">
</a>


Change : attachmentID into directoryName

It will look like this

<a href="attachments/<?php $this->_($attachmentsData['directoryName']) ?>/<?php $this->_($attachmentsData['storedFilename']) ?>">
<img src="attachments/<?php $this->_($attachmentsData['directoryName']) ?>/<?php $this->_($attachmentsData['storedFilename']) ?>" border="0" width="165">
</a>


Save the file and the problem is solved.

Happy recruiting

adidas Yeezy Boost 350 V2 Casual Shoes adidas Yeez[…]

First of all, thank you for the great work! It's[…]

Adidas Yeezy Boost 350 V2 True Form Yeezy 350 Boo[…]

It's interesting how subtle environment issues can[…]