UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Display correctly RELATIONSHIP

Fagault Eric · ·
11:34 PM Tuesday, 08 August 2017
None
Hello,
In a dashboard that I prepare, I need to retrieve the information "RELATIONSHIP"

When I do: $ profile-> getFieldValue ('RELATIONSHIP')

This displays (For example)
{ "Target": [ "984"], "targetRelation": [ "984"], "type": "relationship"}

I would like to display it correctly.

I thought of directly drawing this information from the table "social_relationship_status", but jp teach that I complicate and that there is certainly a much simpler way.

Also when I do: $ profile-> getFieldValue ('BIRTHDAY') ;, I would like to display that day and month, how do I format this display?

Best regards.

Eric
The replies under this section are restricted to logged in users or users with an active subscription with us