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
opencats Installation

Hello, What is the best web host to use for ope[…]

Best Install Platform

I was trying docker setup, initially tried getting[…]

Install questions

https://gbwhata.net/ is a modified version of th[…]

Information of devellopement

Hi Russ , are there any updates on the development[…]