Notification - How do I remove the ... at the end
Hi UNA Team
How do I remove the ... at the end (see screenshot) and show the full text?
Thanks
-
- · Claudio Acosta
- ·
Hello @Alex T⚜️ @LeonidS
If any of you could tell me how to set it up, I'd be grateful.
Regards.
-
-
·
LeonidS
- ·
Hello @Claudio Acosta !
This text is truncated on the server-side, thus necessitating modifications to the PHP code. And how it should handle captions that exceed the maximum length?
-
·
LeonidS
-
hello @LeonidS
Thanks for your answer.
I thought it could be handled by CSS.
Titles that exceed the maximum length would have to continue on the next line.
Why do I have this need?
In my network companies publish job offers. What I want is that when a person receives a notification that person can see the full title of the offer. This can be decisive for the person to decide or not to enter the network.
Today, for example, the person receives this notification that says "We are looking for Personnel" that tells them almost nothing, they have to enter the link to find out what the job offer is about.
In this case, the full title is "We are looking for Personnel to fill an ADMINISTRATIVE position".
Thanks.
-
This section has been designated for comments, and the text provided may exceed the maximum recommended length.
-
Hello @LeonidS I don't understand your comment.
-
-
·
Alex T⚜️
- ·
@Claudio Acosta the maximum length of this text is hardcoded in modules/boonex/notifications/classes/BxNtfsConfig.php file:
$this->_iContentMaxLen = 32;
If you change 32 to something else it maybe some design issues.
-
·
Alex T⚜️
-
Thanks @Alex T⚜️
Now I understand.