Giorgi625 VIP
Total posts: 655
08 Mar 2017 05:02

Using Easysocial app I display list of bookmarked,watched and rated records in Easysocial profile. Below are screenshots of its templates.

https://s9.postimg.org/72bt3npfz/bookmarked.jpg

https://s30.postimg.org/3l5z7u5gx/watched.jpg

https://s9.postimg.org/puhiehwj3/rated.jpg

As you see Watched list template is fine but in Bookmarked there is not show stars for first item and in rated all records don't show stars. As I know all 3 views use same tempalte so why is this difference? and can I do so that watched and bookmarked views display stars and text also for rating template but rated view display only current users rating with only stars without text?

Last Modified: 15 Apr 2017

Comments have been disabled for this article and works only in read only mode.

Sergey
Total posts: 13,748
15 Mar 2017 11:05

Most probably JS conflict. you show same rating with the same articleID on the same page.


Giorgi625 VIP
Total posts: 655
19 Mar 2017 08:49

Yes I see that ratings are not displayed for records which are repeated.

Will it be solved in future updates?

I think it is normal that user will add rated record also to a bookmarks list.

Or is there a posibility to set different tempaltes for each tab?


Giorgi625 VIP
Total posts: 655
19 Mar 2017 17:37

Also I have problem with translating tab titles.

As I guess if I use cobalt1 app I need to edit files in this folder /mysite/media/com_easysocial/apps/user/cobalt1

So there I found file en-GB.plg_app_user_cobalt1.ini and I edited this line:

APP_FAVORITED = "Bookmarked"

but on a sites frontend there is anyway displayd "Bookmarked" then in same folder I edited xml file and added my language by adding this

<languages>
        <language type="en-GB">en-GB.plg_app_user_cobalt1.ini</language>
        <language type="ka-GE">ka-GE.plg_app_user_cobalt1.ini</language>
</languages>

and created localisation file for my language and edited "Bookmarked" word in that file but no changes.


Sergey
Total posts: 13,748
28 Mar 2017 07:51

I am not sure about fix for rating. What kind of rating is it? Only author rate or other people rate? I mean is it active rating for user? Can he change it right there?

About language translation, how many Cobalt profile plugins you are using?


Giorgi625 VIP
Total posts: 655
15 Apr 2017 20:27

Sergey

About language translation, how many Cobalt profile plugins you are using?

I am using 4 apps and plan to add 1 or max 2 apps.

From this 4 apps, in two of them I have disabled tabs and display just title directly from file, without joomla language constant.

In other two Apps I need to have tabs and titles for them, both will have same titles. I see that this titles are show using this code

<?php echo JText::_('APP_'.strtoupper($key));?>

I have found ini file in apps folder and there was APP_FAVORITED constant which must be how I guess Bookmarked tabs language constant but when I edit it it does not change text on site. So where can I find language constant for this tab titles?

!!! solved

just added letter to language constant in php code and then overrided it from joomla admin. it works fine.

Powered by Cobalt