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
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Relationship Status not showing properly

Sky Host · ·
4:37 PM Thursday, 16 April 2015
None
<?php if( $this->template->get( 'relationship' , true ) ){ ?>
<?php $rel = json_decode($user->getFieldData('RELATIONSHIP'));
echo $rel->type; ?>
<?php } ?>

The above code was given to me by you to display relationship status on the profile but since a few days back it only displays the values and not the relationship names as defined in ES language file.

Ex. For relationship type "It's complicated" - it shows only "complicated"

How do I display relationship type properly on the profile??

MORE EXPLANATION BELOW IF YOU WANT TO READ
---------------------------------------------------------------------------------
The above code shows the relationship status "constant". Example: for relationship status "It's complicated" it shows only "complicated" and for "In an Open Relationship" it just shows "open". See the attached screenshots.

Looks like the theme is not reading the language file.

When I change the values for relationshp status in the language file (siteroot/language/en-gb/en-GB.com_easysocial.ini), it doesn't show the changes on the profile. No matter what I type there, it doesn't show on the profile. Check the screenshot of "en-GB.com_easysocial.ini" file
Example: For PLG_FIELDS_RELATIONSHIP_OPEN="In an open relationship"
if I type PLG_FIELDS_RELATIONSHIP_OPEN="test". It doesn't show "test" on profile
The replies under this section are restricted to logged in users or users with an active subscription with us